1. 12 7月, 2016 1 次提交
  2. 06 7月, 2016 1 次提交
  3. 05 7月, 2016 1 次提交
    • S
      [FLINK-3995] [build] Properly structure test scopes and dependencies · 4b71e0e7
      Stephan Ewen 提交于
      Makes the JUnit test utils (TestLogger, retry rules, ...) properly available to
      other projects without the 'flink-core' test-jar, via the 'flink-test-utils-junit' project.
      
      Makes the ForkableMiniCluster, TestEnvironment,  and other test utilities available in the 'main'
      scope of the 'flink-test-utils' project.
      
      Creates a 'flink-test-utils-parent' project that holds the 'flink-test-utils-junit' and
      'flink-test-utils' project.
      
      Also moves some tests between projects and inlines some very simple utility functions in
      order to simplify some test jar dependencies.
      4b71e0e7
  4. 04 7月, 2016 1 次提交
    • I
      [FLINK-4118] Update docker image to 1.0.3 and remove unneeded deps · ffaf10d2
      Ismaël Mejía 提交于
      Some of the changes include:
      
      - Remove unneeded dependencies (nano, wget)
      - Remove apt lists to reduce image size
      - Reduce number of layers on the docker image (best docker practice)
      - Remove useless variables and base the code in generic ones e.g.
      FLINK_HOME
      - Change the default JDK from oracle to openjdk-8-jre-headless, based on
      two reasons:
      
      1. You cannot legally repackage the oracle jdk in docker images
      2. The open-jdk headless is more appropriate for a server image (no GUI stuff)
      
      - Return port assignation to the standard FLINK one:
      
      Variable: docker-flink -> flink
      
      taskmanager.rpc.port: 6121 -> 6122
      taskmanager.data.port: 6122 -> 6121
      jobmanager.web.port: 8080 -> 8081
      
      This closes #2176
      ffaf10d2
  5. 01 7月, 2016 1 次提交
  6. 27 6月, 2016 1 次提交
  7. 25 6月, 2016 1 次提交
    • M
      [FLINK-3838] upgrade commons-cli to fix parsing of jar args · dfecca77
      Maximilian Michels 提交于
      Jar arguments with a single '-' were not parsed correctly if options were
      present. For example, in `./flink run <options> file.jar -arg value` the
      jar arguments would be parsed as "arg" and "value". Interestingly, this only
      happened when <options> were present.
      
      The issue has been fixed in commons-cli 1.3.1.
      
      A test case was added to test for regressions.
      
      This closes #2139
      dfecca77
  8. 15 6月, 2016 1 次提交
    • M
      [FLINK-4030] Revert Surefire version to 2.18.1 · c8fed99e
      Maximilian Michels 提交于
      The ScalaShellITCase sometimes gets stuck before test execution with no output
      in the logs. We ran about a hundred builds against Surefire 2.18.1 which
      confirmed that the failures don't occur with this version.
      
      Waiting for an upstream fix until this can be reverted.
      
      This closes #2101
      c8fed99e
  9. 31 5月, 2016 2 次提交
    • M
      [FLINK-3607] decrease default forkCount for tests · bcf5f464
      Maximilian Michels 提交于
      This makes running test locally a more pleasant experience. It still
      uses all exposed CPU cores (virtual or real). A custom forkCount can be
      set using the flink.forkCount property, e.g. -Dflink.forkCount=4.
      bcf5f464
    • M
      [FLINK-3887] improve dependency management for building docs · aec8b5a7
      Maximilian Michels 提交于
      The Flink documentation build process is currently quite messy. These
      changes move us to a new build process with proper dependency
      handling. It assures that we all use the same dependency versions for
      consistent build output. Also, it eases the automated building process
      on other systems (like the ASF Buildbot). The goal was to make the
      documentation build process easier and self-contained.
      
      - use Ruby's Bundler Gem to install dependencies
      - update README
      - adapt Dockerfile
      - add additional rules to .gitignore
      - change default doc output path from /target to /content
      (default path of the flink-web repository)
      
      This closes #2033
      aec8b5a7
  10. 27 5月, 2016 3 次提交
  11. 23 5月, 2016 3 次提交
  12. 20 5月, 2016 1 次提交
    • M
      [FLINK-3909] replace Maven Failsafe with Surefire · 38698c0b
      Maximilian Michels 提交于
      Failures during execution of the integration tests with the Maven
      Failsafe plugin were silently ignored on Travis with Maven version
      3.2.5. The problem is that failures are not passed on correctly from the
      'integration-test' phase (where failures are recorded and tolerated) to
      the 'verify' phase.
      
      The cause of the error is most likely SUREFIRE-1127. An exception in the
      'integration-test' is sometimes not flushed back to disk where it is
      evaluated in the 'verify' phase. Bumping the version of the Failsafe
      plugin from 2.18.1 to 2.19.1 fixes the issue but introduces classpath
      related problems.
      
      We don't have to rely on Failsafe for running integration
      tests. Surefire offers the same feature set we use from the Failsafe
      plugin.
      
      - replace Failsafe with Surefire
      - update to latest Surefire version
      - get rid of duplicate property declaration
      
      This closes #2003
      38698c0b
  13. 13 5月, 2016 1 次提交
  14. 13 4月, 2016 1 次提交
  15. 06 4月, 2016 1 次提交
  16. 11 3月, 2016 1 次提交
  17. 08 3月, 2016 1 次提交
    • M
      [FLINK-3383] move snapshot deployment from Travis CI to ASF Jenkins · c413b23b
      Maximilian Michels 提交于
      Deployment will be handled by ASF's Jenkins instances which trigger
      the deployment of snapshot versions every night. This way, we have not
      only separated deployment from CI testing, but also improved the
      reliability of the test and deployment infrastructure.
      
      - remove Travis dependency from Maven deploy script
      
      - set force-dependency version to Flink version
      
      This assures deployment works when only credentials for the snapshot
      deployment are available. Previously, we deployed snapshots with release
      credentials. These credentials would be over-privileged.
      
      - remove old credentials from Travis config file
      
      This closes #1619.
      c413b23b
  18. 03 3月, 2016 1 次提交
  19. 29 2月, 2016 1 次提交
  20. 24 2月, 2016 1 次提交
  21. 23 2月, 2016 1 次提交
    • T
      [FLINK-3459] [build] Fix conflicting dependencies commons-collections,... · 3b47ad2b
      Till Rohrmann 提交于
      [FLINK-3459] [build] Fix conflicting dependencies commons-collections, commons-beanutils and commons-beanutils-core
      
      The Hadoop dependencies have a dependency on commons-configuration which pulls in transitively the commons-collection, commons-beanutils and common-beanutils-core depedencies. Commons-beanutils and commons-collection contain classes which live in the same namespace. They are also binary compatible but not binary identical. This is a problem for the sbt assembly plugin which checks for binary identity. In order to solve the problem, we bump the commons-configuration version to 1.7 so that only commons-beanutils is pulled in. This is necessary, because the transitive promotion of dependencies of the shade plugin only excludes the commons-beanutils dependency only from the directly depending dependency. All parent dependencies won't have the exclusion. This is a problem for SBT which will pull the dependency as part of one of the parents, then. Moreover, we replace commons-beanutils by commons-beanutils-bean-collections which contains only the non-conflicting classes wrt commons-collections.
      
      This closes #1682.
      3b47ad2b
  22. 16 2月, 2016 1 次提交
  23. 10 2月, 2016 2 次提交
  24. 09 2月, 2016 1 次提交
  25. 27 1月, 2016 1 次提交
  26. 21 1月, 2016 1 次提交
    • R
      [FLINK-3058] Add support for Kafka 0.9.0.0 · 81320c1c
      Robert Metzger 提交于
      For adding Kafka 0.9.0.0 support, this commit changes the following:
      - Split up of the kafka connector into a flink-connector-kafka-(base|0.9|0.8) with different dependencies
      - The base package contains common test cases, classes and implementations (the producer for 0.9 and 0.8 relies on exactly the same code)
      - the 0.8 package contains a kafka connector implementation against the SimpleConsumer (low level) API of Kafka 0.8. There are some additional tests for the ZK offset committing
      - The 0.9 package relies on the new Consumer API of Kafka 0.9.0.0
      - Support for metrics for all producers and the 0.9 consumer through Flink's accumulators.
      
      This closes #1489
      81320c1c
  27. 15 1月, 2016 1 次提交
  28. 14 1月, 2016 2 次提交
  29. 13 1月, 2016 2 次提交
  30. 07 1月, 2016 1 次提交
  31. 27 12月, 2015 1 次提交
  32. 20 11月, 2015 1 次提交
    • R
      [FLINK-3032] Fix jackson-core dependency conflict with Hadoop 2.7.1. · d8ab8bcf
      Robert Metzger 提交于
      This commit is also changing how we build the "flink-shaded-hadoop" artifact.
      In the past, we were including all Hadoop dependencies into a fat jar, without relocating all of them.
      Maven was not able to see Hadoop's dependencies and classes ended up in the classpath multiple times.
      
      With this change, only shaded Hadoop dependencies are included into the jar. The shade plugin will also
      remove only the shaded dependencies from the pom file.
      d8ab8bcf