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

Chris Nauroth commented on MAPREDUCE-5021:
------------------------------------------

{{FileUtil#createJarWithClassPath}}, currently only on branch-trunk-win, 
contains code to take a path of the form /dir/* and translate it to a list of 
every jar file in /dir.  I've tested this code on both Mac and Windows, though 
the code path is only live for Windows right now.

The method isn't exactly suitable for the feature described here, but it might 
be an opportunity for refactoring and reuse.

                
> Add an addDirectoryToClassPath method DistributedCache
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-5021
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5021
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client, distributed-cache
>    Affects Versions: 2.0.3-alpha
>            Reporter: Sandy Ryza
>
> As adding a directory of jars to the class path is a common use for the 
> distributed cache it would be easier on API consumers if they were able to 
> call a method that would add all the the files in a directory for them. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to