hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-792) support "add archive" in addition to "add files" and "add jars"
Date Tue, 25 Aug 2009 05:15:59 GMT

    [ https://issues.apache.org/jira/browse/HIVE-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747224#action_12747224
] 

Zheng Shao commented on HIVE-792:
---------------------------------

https://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapred/JobClient.java?view=co
In hadoop trunk, "add jars" uses "tmpjars" which goes to "DistributedCache.addFileToClassPath".


> support "add archive" in addition to "add files" and "add jars"
> ---------------------------------------------------------------
>
>                 Key: HIVE-792
>                 URL: https://issues.apache.org/jira/browse/HIVE-792
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Zheng Shao
>
> In JobClient.java, we have:
> {code}
>     if (commandConf != null) {
>       files = commandConf.get("tmpfiles");
>       libjars = commandConf.get("tmpjars");
>       archives = commandConf.get("tmparchives");
>     }
> {code}
> The good thing about tmparchives is that TT will automatically unarchive the files (because
"tmparchives" goes through DistributeCache.addCacheArchive, while TT won't do that for "tmpfiles").
> We should have "add archive" which sets "tmparchives".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message