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) ne...@pak:~/zdev/xstat$ export HIVE_AUX_JARS_PATH=/home/neith/jars ne...@pak:~/zdev/xstat$ hive Hive history file=/tmp/neith/hive_job_log_neith_200908051139_1650269553.txt hive> ne...@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: and...@zemanta.com tel: +386 41 515 76f7 twitter: andraz, skype: minmax_test