Ted Yu created YARN-2706:
----------------------------
Summary: Math.abs() is called on random integer in
DefaultContainerExecutor#getWorkingDir()
Key: YARN-2706
URL: https://issues.apache.org/jira/browse/YARN-2706
Project: Hadoop YARN
Issue Type: Bug
Reporter: Ted Yu
Here is the code:
{code}
long randomPosition = Math.abs(r.nextLong()) % totalAvailable;
{code}
See
http://stackoverflow.com/questions/7567350/findbugs-rv-absolute-value-of-random-int-warning
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)