You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/03/21 00:35:15 UTC

[jira] [Commented] (MAPREDUCE-5087) Hadoop should expose Jar location utilities on its public API

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

Enis Soztutar commented on MAPREDUCE-5087:
------------------------------------------

+1, shipping dependent jars is a core functionality for MR jobs, but other than Job.setJarByClass() Hadoop does not provide any utils for finding jars from the classpath. Every application has to do the uber-jar kind of approach, or write their own tool, or copy the code from Hadoop (which HBase did apparently). 
                
> Hadoop should expose Jar location utilities on its public API
> -------------------------------------------------------------
>
>                 Key: MAPREDUCE-5087
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5087
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Nick Dimiduk
>
> The facilities behind JobConf#setJarByClass and the JarFinder utility in test are both generally useful. As the core platform, these should be published as part of the public API. In addition to HBase, they are probably useful for Pig and Hive as well. See also HBASE-2588, HBASE-5317, HBASE-8140.

--
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