Daniel Templeton created YARN-6883:
--------------------------------------
Summary: AllocationFileLoaderService.reloadAllocations() should
use a switch statement in the main tag parsing loop instead of the
if/else-if/...
Key: YARN-6883
URL: https://issues.apache.org/jira/browse/YARN-6883
Project: Hadoop YARN
Issue Type: Improvement
Components: fairscheduler
Affects Versions: 3.0.0-alpha4
Reporter: Daniel Templeton
Priority: Minor
{code} if ("queue".equals(element.getTagName()) ||
"pool".equals(element.getTagName())) {
queueElements.add(element);
} else if ("user".equals(element.getTagName())) {
...{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]