Github user suez1224 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4729#discussion_r145053774
  
    --- Diff: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java ---
    @@ -227,13 +241,19 @@ public void startNewWorker(ResourceProfile 
resourceProfile) {
        }
     
        @Override
    -   public void stopWorker(ResourceID resourceID) {
    -           // TODO: Implement to stop the worker
    +   public void stopWorker(YarnWorkerNode workerNode) {
    +           workerNodeMap.remove(workerNode.getResourceID().toString());
    --- End diff --
    
    This API is only available from hadoop 2.6. Dont we need to support 2.3 and 
2.4 as well?


---

Reply via email to