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

Carl Steinbach edited comment on HIVE-2269 at 7/7/11 4:07 AM:
--------------------------------------------------------------

With the patch in place this works:

{code}

% hive --auxpath 
"::;;,;,$HIVE_HOME/lib/hive-hbase-handler-0.8.0-SNAPSHOT.jar:,:$HIVE_HOME/lib/hive-contrib-0.8.0-SNAPSHOT.jar,::"
Logging initialized using configuration in 
jar:file:/Users/carl/Work/repos/hive3/build/dist/lib/hive-common-0.8.0-SNAPSHOT.jar!/hive-log4j.properties
Hive history file=/tmp/carl/hive_job_log_carl_201107062104_2080798370.txt
hive> show tables;
show tables;
OK
tmp
Time taken: 3.573 seconds
hive> select * from tmp where x > 1;
select * from tmp where x > 1;
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks is set to 0 since there's no reduce operator
Execution log at: 
/tmp/carl/carl_20110706210404_ad7de6b9-1b72-4477-bb97-08f3baf1b43f.log
Job running in-process (local Hadoop)
Hadoop job information for null: number of mappers: 0; number of reducers: 0
2011-07-06 21:04:19,185 null map = 100%,  reduce = 0%
Ended Job = job_local_0001
OK
Time taken: 5.292 seconds
{code}

      was (Author: cwsteinbach):
    With the patch in the place this works:

{code}

% hive --auxpath 
"::;;,;,$HIVE_HOME/lib/hive-hbase-handler-0.8.0-SNAPSHOT.jar:,:$HIVE_HOME/lib/hive-contrib-0.8.0-SNAPSHOT.jar,::"
Logging initialized using configuration in 
jar:file:/Users/carl/Work/repos/hive3/build/dist/lib/hive-common-0.8.0-SNAPSHOT.jar!/hive-log4j.properties
Hive history file=/tmp/carl/hive_job_log_carl_201107062104_2080798370.txt
hive> show tables;
show tables;
OK
tmp
Time taken: 3.573 seconds
hive> select * from tmp where x > 1;
select * from tmp where x > 1;
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks is set to 0 since there's no reduce operator
Execution log at: 
/tmp/carl/carl_20110706210404_ad7de6b9-1b72-4477-bb97-08f3baf1b43f.log
Job running in-process (local Hadoop)
Hadoop job information for null: number of mappers: 0; number of reducers: 0
2011-07-06 21:04:19,185 null map = 100%,  reduce = 0%
Ended Job = job_local_0001
OK
Time taken: 5.292 seconds
{code}
  
> Hive --auxpath option can't handle multiple colon separated values
> ------------------------------------------------------------------
>
>                 Key: HIVE-2269
>                 URL: https://issues.apache.org/jira/browse/HIVE-2269
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.7.0, 0.7.1
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-2269-auxpath.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to