Github user shuai-xu commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4887#discussion_r148716173
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java
 ---
    @@ -874,6 +894,13 @@ public void handleError(final Exception exception) {
         */
        public abstract boolean stopWorker(ResourceID resourceID);
     
    +   /**
    +    * Cancel the allocation of a resource. If the resource allocation has 
not fulfilled, should cancel it.
    +    *
    +    * @param resourceProfile The resource description of the previous 
allocation
    +    */
    +   public abstract void cancelNewWorker(ResourceProfile resourceProfile);
    --- End diff --
    
    I comment it is slot manager.


---

Reply via email to