[
https://issues.apache.org/jira/browse/YARN-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048691#comment-18048691
]
ASF GitHub Bot commented on YARN-6583:
--------------------------------------
github-actions[bot] commented on PR #222:
URL: https://github.com/apache/hadoop/pull/222#issuecomment-3704266487
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> Hadoop-sls failed to start because of premature state of RM
> -----------------------------------------------------------
>
> Key: YARN-6583
> URL: https://issues.apache.org/jira/browse/YARN-6583
> Project: Hadoop YARN
> Issue Type: Bug
> Components: scheduler-load-simulator
> Affects Versions: 2.6.0
> Reporter: JayceAu
> Priority: Major
> Labels: easyfix, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> During startup of SLS, after startRM() in SLSRunner.start(),
> BaseContainerTokenSecretManager not yet generate its onw internal key or it's
> not yet exposed to the other thread, then NM registration will fail because
> of the following exception. Finally, the whole SLS process will crash.
> {noformat}
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.hadoop.yarn.server.security.BaseContainerTokenSecretManager.getCurrentKey(BaseContainerTokenSecretManager.java:81)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService.registerNodeManager(ResourceTrackerService.java:300)
> at
> org.apache.hadoop.yarn.sls.nodemanager.NMSimulator.init(NMSimulator.java:105)
> at org.apache.hadoop.yarn.sls.SLSRunner.startNM(SLSRunner.java:202)
> at org.apache.hadoop.yarn.sls.SLSRunner.start(SLSRunner.java:143)
> at org.apache.hadoop.yarn.sls.SLSRunner.main(SLSRunner.java:528)
> 17/05/11 10:21:06 INFO resourcemanager.ResourceManager: Recovery started
> 17/05/11 10:21:06 INFO recovery.ZKRMStateStore: Watcher event type: None with
> state:SyncConnected for path:null for Service
> org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore in state
> org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore: STARTED
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]