You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2019/06/28 21:27:59 UTC
[GitHub] [samza] sborya commented on a change in pull request #1078:
SAMZA-2248: Fix AM bookkeeping on receiving dead container notifications
sborya commented on a change in pull request #1078: SAMZA-2248: Fix AM bookkeeping on receiving dead container notifications
URL: https://github.com/apache/samza/pull/1078#discussion_r298751679
##########
File path: samza-core/src/main/java/org/apache/samza/clustermanager/ResourceRequestState.java
##########
@@ -229,6 +230,25 @@ public int releaseExtraResources() {
}
}
+ /**
+ * Releases a single resource based on containerId.
+ * @param containerId Yarn container ID
+ */
+ public void releaseResource(String containerId) {
+ if (StringUtils.isEmpty(containerId)) {
+ log.warn("ContainerId is not specified");
Review comment:
please add "ContainerId is not specified" 'in ClusterManager release resource'.
Without the context the message may be to vague.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services