You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (Commented) (JIRA)" <ji...@apache.org> on 2012/03/06 02:11:59 UTC

[jira] [Commented] (HIVE-2428) ADD ARCHIVE has no effect when query runs in local mode

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

Phabricator commented on HIVE-2428:
-----------------------------------

kevinwilfong has commented on the revision "HIVE-2428 [jira] ADD ARCHIVE has no effect when query runs in local mode".

  Attached the zip file used by the test to the JIRA.

  Before this fix was committed, add_archive_local.zip would not appear in the output when the test q file is run.

REVISION DETAIL
  https://reviews.facebook.net/D2121

                
> ADD ARCHIVE has no effect when query runs in local mode
> -------------------------------------------------------
>
>                 Key: HIVE-2428
>                 URL: https://issues.apache.org/jira/browse/HIVE-2428
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-2428.1.patch.txt, HIVE-2428.D2121.1.patch, add_archive_local.zip
>
>
> When you ADD ARCHIVE a file and the query runs in local mode, the file is not available at all.
> For example running the commands
> echo '#!/bin/bash\nls -l 1>&2;read' > foo.sh
> hive -e 'ADD FILE foo.sh; ADD ARCHIVE /tmp/mapreduce_test.zip; SELECT TRANSFORM(*) USING "sh foo.sh" FROM src'
> when the query is allowed to run in local mode, only information for foo.sh is returned.
> However, if the query is not allowed to run in local mode, information for both foo.sh and mapreduce_test.zip is returned.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira