1. 09 1月, 2018 1 次提交
    • T
      [FLINK-7903] [tests] Add flip6 build profile · 2d97cc18
      Till Rohrmann 提交于
      The flip6 build profile only runs the Flip-6 related test cases. Moreover,
      all Flip-6 related test cases are excluded when not running the flip6 build
      profile. This should reduce testing time when adding more and more Flip-6
      test cases.
      
      Include flink-test-utils-junit in all submodules to make the Category marker interfaces Flip6 and OldAndFlip6 available
      
      This closes #4889.
      2d97cc18
  2. 22 11月, 2017 1 次提交
  3. 11 11月, 2017 1 次提交
  4. 09 11月, 2017 1 次提交
  5. 07 11月, 2017 1 次提交
  6. 31 10月, 2017 1 次提交
  7. 14 10月, 2017 1 次提交
  8. 13 7月, 2017 1 次提交
  9. 07 7月, 2017 1 次提交
    • G
      [FLINK-7042] [yarn] Fix jar file discovery flink-yarn-tests · 709f23e7
      Greg Hogan 提交于
      Add dependencies for batch and streaming WordCount programs and copies
      the jar files into a new target/programs directory. The integration
      tests now directly references the program jar files rather than the
      prior brittle search.
      
      This removes the flink-yarn-tests build-time dependency on the examples
      modules (there remains a build-time dependency on flink-dist).
      
      This closes #4264
      709f23e7
  10. 02 6月, 2017 1 次提交
  11. 29 5月, 2017 1 次提交
  12. 11 5月, 2017 1 次提交
  13. 08 5月, 2017 1 次提交
  14. 20 1月, 2017 1 次提交
  15. 21 12月, 2016 1 次提交
  16. 17 12月, 2016 1 次提交
    • M
      [FLINK-2821] use custom Akka build to listen on all interfaces · 27ebdf7a
      Maximilian Michels 提交于
      This uses Flakka (a custom Akka 2.3 build) to resolve the issue that
      the bind address needs to be matching the external address of the
      JobManager. With the changes applied, we can now bind to all
      interfaces, e.g. via 0.0.0.0 (IPv4) or :: (IPv6).
      
      For this to work properly, the configuration entry
      JOB_MANAGER_IPC_ADDRESS now represents the external address of the
      JobManager. Consequently, it should not be resolved to an IP address
      anymore because it may not be resolvable from within containered
      environments. Akka treats this address as the logical address. Any
      messages which are not tagged with this address will be received by
      the Actor System (because we listen on all interfaces) but will be
      dropped subsequently. In addition, we need the external address for
      the JobManager to be able to publish it to Zookeeper for HA setups.
      
      Flakka: https://github.com/mxm/flakka
      Patch applied: https://github.com/akka/akka/pull/15610
      
      - convert host to lower case
      - use consistent format for IPv6 address
      - adapt config and test cases
      - adapt documentation to clarify the address config entry
      - TaskManager: resolve the initial hostname of the StandaloneLeaderRetrievalService
      
      This closes #2917.
      27ebdf7a
  17. 30 11月, 2016 1 次提交
  18. 21 9月, 2016 1 次提交
  19. 08 9月, 2016 1 次提交
    • T
      [FLINK-4458] Replace ForkableFlinkMiniCluster by LocalFlinkMiniCluster · 02b852e3
      Till Rohrmann 提交于
      Rename _configuration to originalConfiguration
      
      Remove testing classes from main scope in flink-runtime
      
      Previously, the ForkableFlinkMiniCluster which resided in flink-test-utils required
      these files to be in the main scope of flink-runtime. With the removal of the
      ForkableFlinkMiniCluster, these classes are now no longer needed and can be moved
      back to the test scope.
      
      This closes #2450.
      02b852e3
  20. 03 8月, 2016 1 次提交
  21. 26 7月, 2016 1 次提交
    • T
      [FLINK-4152] Allow re-registration of TMs at resource manager · 2648bc1a
      Till Rohrmann 提交于
      - Add YarnFlinkResourceManager test to reaccept task manager registrations from a re-elected job manager
      
      - Remove unnecessary sync logic between JobManager and ResourceManager
      
      - Avoid duplicate reigstration attempts in case of a refused registration
      
      - Add test case to check that not an excessive amount of RegisterTaskManager messages are sent
      
      - Remove containersLaunched from YarnFlinkResourceManager and instead not clearing registeredWorkers when JobManager loses leadership
      
      - Let YarnFlinkResourceManagerTest extend TestLogger
      
      - Harden YarnFlinkResourceManager.getContainersFromPreviousAttempts
      
      - Add FatalErrorOccurred message handler to FlinkResourceManager;
        Increase timeout for YarnFlinkResourceManagerTest;
        Add additional constructor to TestingYarnFlinkResourceManager for tests
      
      - Rename registeredWorkers field into startedWorkers
      Additionally, the RegisterResource message is renamed into NotifyResourceStarted which
      tells the RM that a resource has been started. This reflects the current semantics of
      the startedWorkers map in the resource manager.
      
      - Fix concurrency issues in TestingLeaderRetrievalService
      
      This closes #2257
      2648bc1a
  22. 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
  23. 17 6月, 2016 1 次提交
    • M
      [FLINK-3667] refactor client communication classes · f9b52a31
      Maximilian Michels 提交于
      - ClusterDescriptor: base interface for cluster deployment descriptors
      - ClusterDescriptor: YarnClusterDescriptor
      
      - ClusterClient: base class for ClusterClients, handles lifecycle of cluster
      - ClusterClient: shares configuration with the implementations
      - ClusterClient: StandaloneClusterClient, YarnClusterClient
      - ClusterClient: remove run methods and enable detached mode via flag
      
      - CliFrontend: remove all Yarn specific logic
      - CliFrontend: remove all cluster setup logic
      
      - CustomCommandLine: interface for other cluster implementations
      - Customcommandline: enables creation of new cluster or resuming from existing
      
      - Yarn: move Yarn classes and functionality to the yarn module (yarn
        properties, yarn interfaces)
      - Yarn: improve reliability of cluster startup
      - Yarn Tests: only disable parallel execution of ITCases
      
      This closes #1978
      f9b52a31
  24. 27 5月, 2016 1 次提交
  25. 20 5月, 2016 2 次提交
    • M
      [FLINK-3938] re-enable Yarn tests · 9a4fdd5f
      Maximilian Michels 提交于
      As of 70978f56, the Yarn tests were not
      executed anymore. They were moved to the test directory but there was
      still a Maven configuration in place to change the test directory
      location.
      
      This closes #2012
      9a4fdd5f
    • 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
  26. 05 5月, 2016 1 次提交
  27. 11 3月, 2016 1 次提交
  28. 29 2月, 2016 1 次提交
  29. 27 1月, 2016 1 次提交
  30. 05 12月, 2015 1 次提交
  31. 23 10月, 2015 1 次提交
  32. 21 10月, 2015 1 次提交
  33. 08 10月, 2015 1 次提交
    • T
      [FLINK-2790] [yarn] [ha] Add high availability support for Yarn · fa2bb8f1
      Till Rohrmann 提交于
      This squashes the following commits:
      - Refactor JobManager's start actors method to be reusable
      - Yarn refactoring to introduce yarn testing functionality
      - Add support for testing yarn cluster. Extracted JobManager's and TaskManager's testing messages into stackable traits.
      - Implement YarnHighAvailabilityITCase using Akka messages for synchronization.
      - Logging statements
      - Fix registration at JobManager when the leader address is null
      - Fix curator dependency conflict
      - Shades Flink's curator dependency in flink-runtime so that it cannot be overriden by external dependencies in the class path. This solves the problem with Hadoop 2.6.0 which adds Curator 2.6.0 to the class path. The curator version of this Hadoop version is not compatible to Flink's Curator version 2.8.0. Furthermore, Flink's Guava version is forced to be included in flink-shaded-curator jar to avoid to many different Guava version in the resulting dist jar.
      - Unify two shade executions of flink-runtime into one
      - Exclude log4j and slf4j-log4j12 dependency from flink-shaded-curator
      - Set default number of application attempts to 1 in standalone case
      
      This closes #1213
      fa2bb8f1
  34. 26 8月, 2015 1 次提交
    • R
      [FLINK-2555] Properly pass security credentials in the Hadoop Input/Output format wrappers · b264b010
      Robert Metzger 提交于
      This is needed because the Hadoop IF/OF's are using Hadoop's FileSystem stack, which is using
      the security credentials passed in the JobConf / Job class in the getSplits() method.
      
      Note that access to secured Hadoop 1.x using Hadoop IF/OF's is not possible with this change.
      This limitation is due to missing methods in the old APIs.
      
      - Add some comments & change dependency scope to test
      b264b010
  35. 18 6月, 2015 1 次提交
  36. 17 6月, 2015 1 次提交
  37. 26 5月, 2015 1 次提交
  38. 22 5月, 2015 2 次提交