[ 
https://issues.apache.org/jira/browse/YARN-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341610#comment-14341610
 ] 

Hadoop QA commented on YARN-2706:
---------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12675726/YARN-2706.patch
  against trunk revision 2e44b75.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-YARN-Build/6798//console

This message is automatically generated.

> 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
>            Assignee: haosdent
>            Priority: Minor
>         Attachments: YARN-2706.patch
>
>
> 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)

Reply via email to