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
)
This commit is contained in:
parent
adf6ca18b4
commit
1b5b2bea83
|
@ -47,8 +47,8 @@ public class NodeResourceMonitorImpl extends AbstractService implements
|
||||||
private ResourceCalculatorPlugin resourceCalculatorPlugin;
|
private ResourceCalculatorPlugin resourceCalculatorPlugin;
|
||||||
|
|
||||||
/** Current <em>resource utilization</em> of the node. */
|
/** Current <em>resource utilization</em> of the node. */
|
||||||
private ResourceUtilization nodeUtilization;
|
private ResourceUtilization nodeUtilization =
|
||||||
|
ResourceUtilization.newInstance(0, 0, 0f);
|
||||||
private Context nmContext;
|
private Context nmContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue