1. 18 9月, 2017 2 次提交
  2. 16 9月, 2017 4 次提交
  3. 15 9月, 2017 2 次提交
    • G
      [FLINK-7199] [gelly] Graph simplification does not set parallelism · 2ac09c08
      Greg Hogan 提交于
      The Simplify parameter should accept and set the parallelism when
      calling the Simplify algorithms.
      
      The LocalClusteringCoefficient "count triangles" reduce now uses the
      assigned ("little") parallelism as this computation is proportional to
      the number of vertices (the combine computation is proportional to the
      potentially much larger number of triangles).
      
      The ignored CombineHint on the HITS all-reduces have been removed.
      
      This closes #4346
      2ac09c08
    • G
      [FLINK-7273] [gelly] Gelly tests with empty graphs · 9437a0ff
      Greg Hogan 提交于
      There exist some tests with empty graphs but the `EmptyGraph` in
      `AsmTestBase` contained vertices but no edges. Add a new `EmptyGraph`
      without vertices and test both empty graphs for each algorithm.
      
      EmptyGraph now generates the proper TypeInformation (for Edge<> not
      Tuple3) which had prevented adding edges due to a union incompatibility.
      
      GraphGeneratorUtils#vertexSet now uses a hash-combine for distinct.
      
      `PageRank` optionally includes zero-degree vertices in the results
      (at a performance cost).
      
      This closes #4405
      9437a0ff
  4. 14 9月, 2017 2 次提交
  5. 07 9月, 2017 6 次提交
  6. 06 9月, 2017 3 次提交
  7. 05 9月, 2017 12 次提交
  8. 04 9月, 2017 9 次提交
    • T
      [FLINK-7504] Fence the ResourceManager · e70de0eb
      Till Rohrmann 提交于
      Properly fences the ResourceManager by letting it extend the FencedRpcEndpoint.
      Moreover, this PR introduces a ResourceManagerId which replaces the UUID as
      leader id/fencing token. This will give us more type safety when defining rpc
      interfaces.
      
      This closes #4582.
      e70de0eb
    • T
      [FLINK-7507] [dispatcher] Fence Dispatcher · 84c2a928
      Till Rohrmann 提交于
      Let the Dispatcher extend the FencedRpcEndpoint and introduce DispatcherId which
      replaces the UUID as leader id/fencing token.
      
      This closes #4584.
      84c2a928
    • T
      [FLINK-7526] [TaskExecutor] Filter out duplicate JobManager gained leadership messages · 64e8de97
      Till Rohrmann 提交于
      This commit filters out duplicate JobManager gained leadership messges coming from
      the JobLeaderService. This avoid opening multiple connections to the JobManager
      which consumes resources. Moreover, this commit properly closes all
      JobManagerConnections in case of a shut down.
      
      This closes #4595.
      64e8de97
    • T
      [FLINK-7500] Set JobMaster leader session id in main thread · a1578710
      Till Rohrmann 提交于
      This commit changes the JobMaster such that it's leader session id is only set
      in the main thread. This is done by passing the leader session id to the
      startJobExecution method. Moreover, this commit returns a future from the
      start and suspend methods which can be used to wait on the completion of these
      operations.
      
      This closes #4579.
      a1578710
    • T
      [FLINK-7444] [rpc] Make external calls non-blocking · a3df5a2c
      Till Rohrmann 提交于
      Make all external calls from the RpcEndpoint's main thread non blocking by
      executing them as a runnable in an Executor.
      
      Make FatalErrorHandler calls non asynchronous
      
      This closes #4540.
      a3df5a2c
    • T
      [FLINK-7409] [web] Make WebRuntimeMonitor reactive · ab1fbfdf
      Till Rohrmann 提交于
      This commit changes the behaviour of the WebRuntimeMonitor to not longer block serving
      threads by waiting on the result of futures. Instead the RequestHandler now returns a
      CompletableFuture<FullHttpResponse> which is written out to the Netty channel upon
      completion. This will improve the performance of our WebRuntimeMonitor.
      
      This closes #4527.
      ab1fbfdf
    • T
      [FLINK-7078] [rpc] Introduce FencedRpcEndpoint · 1804aa33
      Till Rohrmann 提交于
      Introduce FencedRpcEndpoint which requires all RPC messages to have a
      fencing token attached. Based on the received fencing token and the
      actual fencing token, the message will either be discarded if they are
      not equal or it will be processed. That way we are able to filter out
      old messages or messages which originate from a split brain situation
      
      Add support for callAsyncWithoutFencing
      
      Introduce local and remote fenced messages
      
      This closes #4578.
      1804aa33
    • T
      [FLINK-7519] Add HttpResponseStatus to RestClientException · d7cea586
      Till Rohrmann 提交于
      Enrich the RestClientException with the HttpResponseStatus in case of failures. This
      makes the exception handling on the client side easier.
      
      This closes #4588.
      d7cea586
    • T
      [FLINK-7522] Add termination future to ClusterEntrypoint · 0cf7f766
      Till Rohrmann 提交于
      The termination future is completed when the ClusterEntrypoint shuts down. This
      allows for easier testing.
      
      This closes #4589.
      0cf7f766