You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Andraz Tori <an...@zemanta.com> on 2009/08/05 11:45:35 UTC

Can't start hive server when HIVE_AUX_JARS_PATH is set

When setting HIVE_AUX_JARS_PATH, "hive" starts ok, but "hive --service
hiveserver" fails.

If HIVE_AUX_JARS_PATH is not set, then hive server starts without
problems.

What am I doing wrong?

Also: when setting hive.aux.jars.path, this seems to have no effect on
hive, but when using HIVE_AUX_JARS_PATH it works (in command line mode
obviously, since server mode doesn't want to start)



neith@pak:~/zdev/xstat$ export HIVE_AUX_JARS_PATH=/home/neith/jars
neith@pak:~/zdev/xstat$ hive
Hive history
file=/tmp/neith/hive_job_log_neith_200908051139_1650269553.txt
hive> 
neith@pak:~/zdev/xstat$ hive --service hiveserver
Starting Hive Thrift Server
java.lang.NumberFormatException: For input string: "-hiveconf"
        at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:447)
        at java.lang.Integer.parseInt(Integer.java:497)
        at
org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:204)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
        at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)



-- 
Andraz Tori, CTO
Zemanta Ltd, New York, London, Ljubljana
www.zemanta.com
mail: andraz@zemanta.com
tel: +386 41 515 76f7
twitter: andraz, skype: minmax_test