On Wed, Jun 23, 2010 at 10:48 PM, John Sichi <jsi...@facebook.com> wrote: > Did you get past this? It looks like some kind of bad build. > > JVS > > On Jun 23, 2010, at 2:38 PM, Ashish Thusoo wrote: > >> Not sure if this is just my env but on 0.6.0 when I run the unit tests I get >> a bunch of errors of the following form: >> >> [junit] Begin query: alter3.q >> [junit] java.lang.NoSuchFieldError: HIVESESSIONSILENT >> [junit] at >> org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:1052) >> [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> [junit] at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> [junit] at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [junit] at java.lang.reflect.Method.invoke(Method.java:597) >> [junit] at org.apache.hadoop.util.RunJar.main(RunJar.java:155) >> [junit] at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194) >> [junit] at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) >> [junit] at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) >> [junit] at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220) >> [junit] >> >> -----Original Message----- >> From: John Sichi [mailto:jsi...@facebook.com] >> Sent: Wednesday, June 23, 2010 2:15 PM >> To: <hive-dev@hadoop.apache.org> >> Subject: Re: 6.0 and trunk look broken to me >> >> (You mean 0.6, right?) >> >> I'm not able to reproduce this (just tested with latest trunk on Linux and >> Mac). Is anyone else seeing it? >> >> JVS >> >> On Jun 23, 2010, at 1:51 PM, Edward Capriolo wrote: >> >>> Trunk and 6.0 both show this in hadoop local mode and hadoop distributed >>> mode. >>> >>> export HADOOP_HOME=/home/edward/hadoop/hadoop-0.20.2_loca >>> edw...@ec dist]$ export >>> HADOOP_HOME=/home/edward/hadoop/hadoop-0.20.2_local[edw...@ec dist]$ >>> bin/hive Hive history >>> file=/tmp/edward/hive_job_log_edward_201006231647_1723542005.txt >>> hive> show tables; >>> FAILED: Parse Error: line 0:-1 cannot recognize input '<EOF>' >>> >>> [edw...@ec dist]$ more /tmp/edward/hive.log >>> 2010-06-23 16:41:00,749 ERROR ql.Driver >>> (SessionState.java:printError(277)) - FAILED: Parse Error: line 0:-1 >>> cannot recognize input '<EOF>' >>> >>> org.apache.hadoop.hive.ql.parse.ParseException: line 0:-1 cannot >>> recognize input '<EOF>' >>> >>> at >>> org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:401) >>> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:299) >>> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:379) >>> at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:138) >>> at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:197) >>> at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:302) >>> 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:156) >> > >
I do not know what is up. Cleaned up my .ivy2 checked out and the build again. I guess if no one else is seeing it, it must be something on my system. Total time: 3 minutes 7 seconds [edw...@ec hive_6_pre]$ cd build/dist/ [edw...@ec dist]$ cd ../hive-trunk/^C [edw...@ec dist]$ ls bin conf examples lib README.txt [edw...@ec dist]$ bin/hive Hive history file=/tmp/edward/hive_job_log_edward_201006232341_41029014.txt hive> show tables; FAILED: Parse Error: line 0:-1 cannot recognize input '<EOF>' hive> exit; [edw...@ec dist]$ ant -v Apache Ant version 1.8.0 compiled on February 1 2010 Trying the default build file: build.xml Buildfile: build.xml does not exist! Build failed [edw...@ec dist]$ java -v Unrecognized option: -v Could not create the Java virtual machine. [edw...@ec dist]$ java -version java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)