flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shuai-xu <...@git.apache.org>
Subject [GitHub] flink pull request #4887: [FLINK-7870] [runtime] Cancel slot allocation to R...
Date Fri, 03 Nov 2017 06:39:52 GMT
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.


---

Mime
View raw message