rmatharu commented on a change in pull request #1296: SAMZA-2475: Add a 
allocated resource expiry timeout in samza yarn type of apps
URL: https://github.com/apache/samza/pull/1296#discussion_r385885702
 
 

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerAllocator.java
 ##########
 @@ -261,6 +261,14 @@ protected void runStreamProcessor(SamzaResourceRequest 
request, String preferred
       throw new SamzaException("Expected resource for Processor ID: " + 
request.getProcessorId() + " was unavailable on host: " + preferredHost);
     }
 
+    if(clusterResourceManager.isResourceExpired(resource)) {
 
 Review comment:
   resource.isExpired() 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to