YARN-10540. Node page is broken in YARN UI1 and UI2 including RMWebService api

for nodes. Contributed by Jim Brennan.
This commit is contained in:
Eric Badger 2020-12-21 23:10:31 +00:00
parent 9aefe72ed6
commit 4c5d88e230

View File

@ -47,8 +47,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);
private Context nmContext;
/**