You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/08/25 03:23:59 UTC

[jira] Commented: (HIVE-792) support "add archive" in addition to "add files" and "add jars"

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

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

Details: (from ExecDriver.initialize(...) and JobClient.java)

"add file" uses "tmpfiles" which goes to "DistributedCache.addCacheFile"
"add jars" uses "tmpjars" which goes to "DistributedCache.addArchiveToClassPath"
"add archives" should use "tmparchives" which goes to "DistributedCache.addCacheArchive"


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