YARN-10540. Node page is broken in YARN UI1 and UI2 including RMWebService api
for nodes. Contributed by Jim Brennan.
(cherry picked from commit 4c5d88e230
)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/NodeResourceMonitorImpl.java
This commit is contained in:
parent
2c45e93682
commit
f239da08af
|
@ -46,7 +46,8 @@ public class NodeResourceMonitorImpl extends AbstractService implements
|
|||
private ResourceCalculatorPlugin resourceCalculatorPlugin;
|
||||
|
||||
/** Current <em>resource utilization</em> of the node. */
|
||||
private ResourceUtilization nodeUtilization;
|
||||
private ResourceUtilization nodeUtilization =
|
||||
ResourceUtilization.newInstance(0, 0, 0f);
|
||||
|
||||
/**
|
||||
* Initialize the node resource monitor.
|
||||
|
|
Loading…
Reference in New Issue