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

    https://github.com/apache/incubator-apex-core/pull/250#discussion_r58952486
  
    --- Diff: 
engine/src/main/java/com/datatorrent/stram/StreamingAppMasterService.java ---
    @@ -750,6 +752,11 @@ private void execute() throws YarnException, 
IOException
             expiryTime = StramUserLogin.refreshTokens(tokenLifeTime, 
FileUtils.getTempDirectoryPath(), applicationId, conf, hdfsKeyTabFile, 
credentials, rmAddress, true);
           }
     
    +      if (System.currentTimeMillis() > nodeReportUpdateTime) {
    --- End diff --
    
    I have put it inside loop so that node reports get updated periodically. 
This helps in keeping latest available resources in node reports so that on 
container kill/restart, we can allocate nodes based on latest available 
resources.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to