Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Getting Started


+
Cyril Bogus 2013-05-02, 17:19
+
Sanjay Subramanian 2013-05-02, 17:25
+
Cyril Bogus 2013-05-02, 17:38
+
kulkarni.swarnim@...) 2013-05-02, 17:47
+
Cyril Bogus 2013-05-02, 17:50
+
Cyril Bogus 2013-05-02, 17:52
+
kulkarni.swarnim@...) 2013-05-02, 17:55
Copy link to this message
-
Re: Getting Started
Cyril Bogus 2013-05-02, 18:04
I put it in both and I am still getting the same error.
On Thu, May 2, 2013 at 1:55 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

> But that would still use the HADOOP_CLASSPATH right?
>
>
> On Thu, May 2, 2013 at 12:52 PM, Cyril Bogus <[EMAIL PROTECTED]> wrote:
>
>> But right now I am just trying to run it as standalone (no need to check
>> for the packages I assume) with hadoop's hdfs in order to do some indexing
>> on data already present in the hdfs
>>
>>
>> On Thu, May 2, 2013 at 1:50 PM, Cyril Bogus <[EMAIL PROTECTED]> wrote:
>>
>>> Actually two the one from hadoop (which is the same as from the one in
>>> the hive package) and the one from mahout 0.7 which is newer antlr 3.2
>>>
>>>
>>> On Thu, May 2, 2013 at 1:47 PM, [EMAIL PROTECTED] <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> Do you have a different version of antlr jar in your classpath other
>>>> than the one packaged with hive?
>>>>
>>>>
>>>> On Thu, May 2, 2013 at 12:38 PM, Cyril Bogus <[EMAIL PROTECTED]>wrote:
>>>>
>>>>> I am using the default setup for the hive-site.xml so the meta store
>>>>> is in /user/hive/warehouse in the hdfs (Which I have setup as specified
>>>>> under Getting started in the hive website.
>>>>>
>>>>> Here is the output from the command.
>>>>>
>>>>>
>>>>>
>>>>> hive -hiveconf hive.root.logger=INFO,console -e  "show databases"
>>>>> WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated.
>>>>> Please use org.apache.hadoop.log.metrics.EventCounter in all the
>>>>> log4j.properties files.
>>>>> Logging initialized using configuration in
>>>>> jar:file:/home/hive/lib/hive-common-0.10.0.jar!/hive-log4j.properties
>>>>> 13/05/02 13:37:09 INFO SessionState: Logging initialized using
>>>>> configuration in
>>>>> jar:file:/home/hive/lib/hive-common-0.10.0.jar!/hive-log4j.properties
>>>>> Hive history
>>>>> file=/tmp/cyrille/hive_job_log_cyrille_201305021337_431171577.txt
>>>>> 13/05/02 13:37:09 INFO exec.HiveHistory: Hive history
>>>>> file=/tmp/cyrille/hive_job_log_cyrille_201305021337_431171577.txt
>>>>> 13/05/02 13:37:09 INFO ql.Driver: <PERFLOG method=Driver.run>
>>>>> 13/05/02 13:37:09 INFO ql.Driver: <PERFLOG method=TimeToSubmit>
>>>>> 13/05/02 13:37:09 INFO ql.Driver: <PERFLOG method=compile>
>>>>> 13/05/02 13:37:09 INFO parse.ParseDriver: Parsing command: show
>>>>> databases
>>>>> 13/05/02 13:37:09 INFO ql.Driver: </PERFLOG method=compile
>>>>> start=1367516229487 end=1367516229681 duration=194>
>>>>>
>>>>> Exception in thread "main" java.lang.NoSuchFieldError: type
>>>>>     at
>>>>> org.apache.hadoop.hive.ql.parse.HiveLexer.mKW_SHOW(HiveLexer.java:1305)
>>>>>     at
>>>>> org.apache.hadoop.hive.ql.parse.HiveLexer.mTokens(HiveLexer.java:6439)
>>>>>     at org.antlr.runtime.Lexer.nextToken(Lexer.java:84)
>>>>>     at
>>>>> org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenStream.java:95)
>>>>>     at org.antlr.runtime.CommonTokenStream.LT
>>>>> (CommonTokenStream.java:238)
>>>>>     at
>>>>> org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:573)
>>>>>     at
>>>>> org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:439)
>>>>>     at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:416)
>>>>>     at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:335)
>>>>>     at org.apache.hadoop.hive.ql.Driver.run(Driver.java:893)
>>>>>     at
>>>>> org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259)
>>>>>     at
>>>>> org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216)
>>>>>     at
>>>>> org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:412)
>>>>>     at
>>>>> org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:347)
>>>>>     at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:706)
>>>>>
>>>>>     at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:613)
>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>     at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
+
Cyril Bogus 2013-05-02, 20:12
+
kulkarni.swarnim@...) 2013-05-02, 17:52