YARN-3629. NodeID is always printed as "null" in node manager
initialization log. Contributed by nijel. (cherry picked from commit 5c2f05cd9bad9bf9beb0f4ca18f4ae1bc3e84499)
This commit is contained in:
parent
fb5b0ebb45
commit
5fceebd696
@ -349,6 +349,9 @@ Release 2.8.0 - UNRELEASED
|
||||
YARN-3602. TestResourceLocalizationService.testPublicResourceInitializesLocalDir
|
||||
fails Intermittently due to IOException from cleanup. (zhihai xu via xgong)
|
||||
|
||||
YARN-3629. NodeID is always printed as "null" in node manager initialization log.
|
||||
(nijel via devaraj)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -199,7 +199,7 @@ protected void serviceInit(Configuration conf) throws Exception {
|
||||
+ durationToTrackStoppedContainers);
|
||||
}
|
||||
super.serviceInit(conf);
|
||||
LOG.info("Initialized nodemanager for " + nodeId + ":" +
|
||||
LOG.info("Initialized nodemanager with :" +
|
||||
" physical-memory=" + memoryMb + " virtual-memory=" + virtualMemoryMb +
|
||||
" virtual-cores=" + virtualCores);
|
||||
|
||||
@ -213,6 +213,7 @@ protected void serviceStart() throws Exception {
|
||||
|
||||
// NodeManager is the last service to start, so NodeId is available.
|
||||
this.nodeId = this.context.getNodeId();
|
||||
LOG.info("Node ID assigned is : " + this.nodeId);
|
||||
this.httpPort = this.context.getHttpPort();
|
||||
this.nodeManagerVersionId = YarnVersionInfo.getVersion();
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user