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/26 06:46:59 UTC

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

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

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

+1. Will commit if test passes.


> support "add archive" in addition to "add file" and "add jar"
> -------------------------------------------------------------
>
>                 Key: HIVE-792
>                 URL: https://issues.apache.org/jira/browse/HIVE-792
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>         Attachments: hive-792-2009-08-25.patch, hive-792-2009-08-26.patch
>
>
> 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.