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

    https://github.com/apache/incubator-apex-core/pull/250#discussion_r58955589
  
    --- 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 --
    
    It has to be in the loop, but no need to call it multiple times. The millis 
are used in several places.


---
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