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

Bing Jiang commented on MAPREDUCE-5980:
---------------------------------------

I have noticed that org.apache.hadoop.util.GenericOptionsParser has a function 
validateFiles to validate the value of -libjars. So if it pass the value 
through -libjars, it will convert the empty into current working diectory path, 
then it pass the value via conf.get("tmpjars"). So my first patch cannot solve 
the issue. Need to think it over.

> filter empty string in the libjars when submitting jobs
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-5980
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5980
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Bing Jiang
>            Assignee: Bing Jiang
>            Priority: Minor
>         Attachments: MAPREDUCE-5980.patch
>
>
> -libjars is used to upload jars into hdfs when submitting jobs. If there is 
> empty string between two comma, the copying processing will try to copy all 
> the subdirs/files under current directory. I believe it is not user's 
> expected behavior.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to