You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Sancar Gazi <s....@ecircle.com> on 2009/02/13 12:02:25 UTC

Missing hive execution jar

Hi,

 

i am really interested to try hive out asap, because it looks like a
great technology.

 

While having a windows machine here at work, I installed vmware with
preconfigured hadoop (following this guide
http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html) and
trying out the examples, I can tell it works!

 

Now I downloaded hive into Vmware (and did these steps
http://wiki.apache.org/hadoop/Hive/GettingStarted) but when I try to run
hive I get the error message that the hive execution jar in the lib
directory is missing.

 

What did I miss and how can I get it to work?

 

Thanks,

Sancar


Re: AW: Missing hive execution jar

Posted by Prasad Chakka <pr...@facebook.com>.
Ant package should copy all required jars into build/dist directory.


________________________________
From: Sancar Gazi <s....@ecircle.com>
Reply-To: <hi...@hadoop.apache.org>
Date: Fri, 13 Feb 2009 05:31:21 -0800
To: <hi...@hadoop.apache.org>
Subject: AW: Missing hive execution jar

Ok I saw the two libraries have been included in the ql/lib and cli/lib.
Now I wonder why they haven't been found by hive? I really would like to know this for having a better understanding of it.

Thanks again.


Von: Sancar Gazi [mailto:s.gazi@ecircle.com]
Gesendet: Freitag, 13. Februar 2009 13:46
An: hive-user@hadoop.apache.org
Betreff: AW: Missing hive execution jar

Ok nevermind the question before. I found them jars all in the build directory.
Maybe the copy process should be included into the ant job.

Also two other libraries have been missing: antlr runtime & jline
Can these be integrated into the lib?

Now I've got hive runnin and unfortunately I receiving following error:
hive> CREATE TABLE pokes (foo INT, bar STRING);
java.lang.NoSuchFieldError: ruleMemo
       at
org.apache.hadoop.hive.ql.parse.HiveParser.<init>(HiveParser.java:264)
       at
org.apache.hadoop.hive.ql.parse.ParseDriver$HiveParserX.<init>(ParseDriver.java:194)
       at
org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:253)
       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:122)
       at
org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)
       at
org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:208)
       at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:304)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


Somebody knows a solution for this?
Thanks for help



Von: Sancar Gazi [mailto:s.gazi@ecircle.com]
Gesendet: Freitag, 13. Februar 2009 12:02
An: hive-user@hadoop.apache.org
Betreff: Missing hive execution jar

Hi,

i am really interested to try hive out asap, because it looks like a great technology.

While having a windows machine here at work, I installed vmware with preconfigured hadoop (following this guide http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html) and trying out the examples, I can tell it works!

Now I downloaded hive into Vmware (and did these steps http://wiki.apache.org/hadoop/Hive/GettingStarted) but when I try to run hive I get the error message that the hive execution jar in the lib directory is missing.

What did I miss and how can I get it to work?

Thanks,
Sancar


AW: Missing hive execution jar

Posted by Sancar Gazi <s....@ecircle.com>.
Ok I saw the two libraries have been included in the ql/lib and cli/lib.

Now I wonder why they haven't been found by hive? I really would like to
know this for having a better understanding of it.

 

Thanks again.

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 13:46
An: hive-user@hadoop.apache.org
Betreff: AW: Missing hive execution jar

 

Ok nevermind the question before. I found them jars all in the build
directory. 

Maybe the copy process should be included into the ant job.

 

Also two other libraries have been missing: antlr runtime & jline

Can these be integrated into the lib?

 

Now I've got hive runnin and unfortunately I receiving following error:

hive> CREATE TABLE pokes (foo INT, bar STRING);

java.lang.NoSuchFieldError: ruleMemo

        at

org.apache.hadoop.hive.ql.parse.HiveParser.<init>(HiveParser.java:264)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver$HiveParserX.<init>(ParseDriv
er.java:194)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:253)

        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:122)

        at

org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)

        at

org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:208)

        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:304)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

 

 

Somebody knows a solution for this?

Thanks for help

 

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 12:02
An: hive-user@hadoop.apache.org
Betreff: Missing hive execution jar

 

Hi,

 

i am really interested to try hive out asap, because it looks like a
great technology.

 

While having a windows machine here at work, I installed vmware with
preconfigured hadoop (following this guide
http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html) and
trying out the examples, I can tell it works!

 

Now I downloaded hive into Vmware (and did these steps
http://wiki.apache.org/hadoop/Hive/GettingStarted) but when I try to run
hive I get the error message that the hive execution jar in the lib
directory is missing.

 

What did I miss and how can I get it to work?

 

Thanks,

Sancar


AW: Missing hive execution jar

Posted by Sancar Gazi <s....@ecircle.com>.
Ok i solved it. I'm gonna move this issue to another mailing, so other
people can find it.

Sorry for so many mails;)

 

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 13:56
An: hive-user@hadoop.apache.org
Betreff: AW: Missing hive execution jar

 

BTW: I have hadoop version 0.18.0 and the latest trunk of hive

 

Sancar

 

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 13:46
An: hive-user@hadoop.apache.org
Betreff: AW: Missing hive execution jar

 

Ok nevermind the question before. I found them jars all in the build
directory. 

Maybe the copy process should be included into the ant job.

 

Also two other libraries have been missing: antlr runtime & jline

Can these be integrated into the lib?

 

Now I've got hive runnin and unfortunately I receiving following error:

hive> CREATE TABLE pokes (foo INT, bar STRING);

java.lang.NoSuchFieldError: ruleMemo

        at

org.apache.hadoop.hive.ql.parse.HiveParser.<init>(HiveParser.java:264)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver$HiveParserX.<init>(ParseDriv
er.java:194)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:253)

        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:122)

        at

org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)

        at

org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:208)

        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:304)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

 

 

Somebody knows a solution for this?

Thanks for help

 

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 12:02
An: hive-user@hadoop.apache.org
Betreff: Missing hive execution jar

 

Hi,

 

i am really interested to try hive out asap, because it looks like a
great technology.

 

While having a windows machine here at work, I installed vmware with
preconfigured hadoop (following this guide
http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html) and
trying out the examples, I can tell it works!

 

Now I downloaded hive into Vmware (and did these steps
http://wiki.apache.org/hadoop/Hive/GettingStarted) but when I try to run
hive I get the error message that the hive execution jar in the lib
directory is missing.

 

What did I miss and how can I get it to work?

 

Thanks,

Sancar


AW: Missing hive execution jar

Posted by Sancar Gazi <s....@ecircle.com>.
BTW: I have hadoop version 0.18.0 and the latest trunk of hive

 

Sancar

 

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 13:46
An: hive-user@hadoop.apache.org
Betreff: AW: Missing hive execution jar

 

Ok nevermind the question before. I found them jars all in the build
directory. 

Maybe the copy process should be included into the ant job.

 

Also two other libraries have been missing: antlr runtime & jline

Can these be integrated into the lib?

 

Now I've got hive runnin and unfortunately I receiving following error:

hive> CREATE TABLE pokes (foo INT, bar STRING);

java.lang.NoSuchFieldError: ruleMemo

        at

org.apache.hadoop.hive.ql.parse.HiveParser.<init>(HiveParser.java:264)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver$HiveParserX.<init>(ParseDriv
er.java:194)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:253)

        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:122)

        at

org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)

        at

org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:208)

        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:304)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

 

 

Somebody knows a solution for this?

Thanks for help

 

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 12:02
An: hive-user@hadoop.apache.org
Betreff: Missing hive execution jar

 

Hi,

 

i am really interested to try hive out asap, because it looks like a
great technology.

 

While having a windows machine here at work, I installed vmware with
preconfigured hadoop (following this guide
http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html) and
trying out the examples, I can tell it works!

 

Now I downloaded hive into Vmware (and did these steps
http://wiki.apache.org/hadoop/Hive/GettingStarted) but when I try to run
hive I get the error message that the hive execution jar in the lib
directory is missing.

 

What did I miss and how can I get it to work?

 

Thanks,

Sancar


AW: Missing hive execution jar

Posted by Sancar Gazi <s....@ecircle.com>.
Ok nevermind the question before. I found them jars all in the build
directory. 

Maybe the copy process should be included into the ant job.

 

Also two other libraries have been missing: antlr runtime & jline

Can these be integrated into the lib?

 

Now I've got hive runnin and unfortunately I receiving following error:

hive> CREATE TABLE pokes (foo INT, bar STRING);

java.lang.NoSuchFieldError: ruleMemo

        at

org.apache.hadoop.hive.ql.parse.HiveParser.<init>(HiveParser.java:264)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver$HiveParserX.<init>(ParseDriv
er.java:194)

        at

org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:253)

        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:122)

        at

org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)

        at

org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:208)

        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:304)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

 

 

Somebody knows a solution for this?



Thanks for help

 

 

Von: Sancar Gazi [mailto:s.gazi@ecircle.com] 
Gesendet: Freitag, 13. Februar 2009 12:02
An: hive-user@hadoop.apache.org
Betreff: Missing hive execution jar

 

Hi,

 

i am really interested to try hive out asap, because it looks like a
great technology.

 

While having a windows machine here at work, I installed vmware with
preconfigured hadoop (following this guide
http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html) and
trying out the examples, I can tell it works!

 

Now I downloaded hive into Vmware (and did these steps
http://wiki.apache.org/hadoop/Hive/GettingStarted) but when I try to run
hive I get the error message that the hive execution jar in the lib
directory is missing.

 

What did I miss and how can I get it to work?

 

Thanks,

Sancar