YARN-9915: Fix FindBug issue in QueueMetrics. Contributed by Prabhu Joseph.
(cherry picked from commit 83d148074f9299de02d5c896a3ed4e11292cba73)
This commit is contained in:
parent
0f64ed89d2
commit
ea574087d1
@ -467,7 +467,7 @@ private void registerCustomResources() {
|
||||
2; i < resources.length; i++) {
|
||||
ResourceInformation resource =
|
||||
resources[i];
|
||||
customResources.put(resource.getName(), new Long(0));
|
||||
customResources.put(resource.getName(), Long.valueOf(0));
|
||||
}
|
||||
|
||||
registerCustomResources(customResources, ALLOCATED_RESOURCE_METRIC_PREFIX,
|
||||
|
Loading…
x
Reference in New Issue
Block a user