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

Tsuyoshi OZAWA commented on MAPREDUCE-6225:
-------------------------------------------

{code}
-    // Set the working directory
-    if (job.getWorkingDirectory() == null) {
-      job.setWorkingDirectory(jtFs.getWorkingDirectory());
-    }
+    // Get the working directory. If not set, sets it to filesystem working dir
+    job.getWorkingDirectory();
{code}

Simply put, I think we should update the lines as follows:

{code}
+    job.setWorkingDirectory(jtFs.getWorkingDirectory());
{code}

> Fix new findbug warnings in hadoop-mapreduce-client-core
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-6225
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6225
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Jason Lowe
>            Assignee: Varun Saxena
>         Attachments: MAPREDUCE-6225.001.patch, MAPREDUCE-6225.002.patch
>
>
> Recent precommit builds in hadoop-mapreduce-client-core are flagging findbug 
> warnings that appear to be new with the recent findbugs upgrade.  These need 
> to be cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to