You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by 徐厚道 <xu...@gmail.com> on 2011/03/07 07:23:31 UTC
hello everybody,i am fresher,i meet a problem,please help.
my eng is very poor.
i set up hive env use
http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
but i catch a exception when i run "SHOW TABLES;" script
somebody can help me ? thanks a lot!
hive> SHOW TABLES;
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/String;)Z
at
org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
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)
Re: hello everybody,i am fresher,i meet a problem,please help.
Posted by 徐厚道 <xu...@gmail.com>.
i have dealed with problem ,indeed ,is commons-lang-2.4.jar confict with
commons-lang-2.1.jar.
my hive run with the nutch's(v1.0) hadoop enviroment.
thanks everybody
2011/3/7 徐厚道 <xu...@gmail.com>
> my eng is very poor.
> i set up hive env use
> http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
>
> but i catch a exception when i run "SHOW TABLES;" script
>
> somebody can help me ? thanks a lot!
>
> hive> SHOW TABLES;
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/String;)Z
> at
> org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
> 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)
>
>
Re: hello everybody,i am fresher,i meet a problem,please help.
Posted by 徐厚道 <xu...@gmail.com>.
sorry,i have not reply Immediately,i have confirmed the commons-lang-2.4.jar
is in the installation/lib.
my installation info is
hive 0.6.0
hadoop 0.20.2 with nutch 1.1
i have view the bin/hive script ,and echo the CLASSPTH,HADOOP_CLASSPATH,they
all contains the commons-lang-2.4.jar. but throw the exception ! [?]
thanks again!
2011/3/7 Chinna <ch...@huawei.com>
> No, It won't be a conflict.
>
>
>
> In u r hive installation/lib/commons-lang-2.4.jar if this jar is there .
> It will come to class path while starting the hive.
>
>
>
> I think u r using hive version 0.5.0 or above.
>
>
>
> if still this problem is there send the details like how u r starting and
> which versions u r using
>
>
> ------------------------------
>
> *From:* 徐厚道 [mailto:xuhoudao@gmail.com]
> *Sent:* Monday, March 07, 2011 3:06 PM
> *To:* user@hive.apache.org; chinnarao@huawei.com
>
> *Cc:* "mailto:xuhoudao"@gmail.com
> *Subject:* Re: hello everybody,i am fresher,i meet a problem,please help.
>
>
>
> thank you reply!
>
> yes,it is. and hadoop lib dir has commons-lang-2.1.jar, is they Conflict
> ?
>
>
>
> 2011/3/7 Chinna <ch...@huawei.com>
>
> Check the lib path,
>
>
>
> commons-lang-2.4.jar is in the lib or not.
>
>
>
>
> ------------------------------
>
> *From:* 徐厚道 [mailto:xuhoudao@gmail.com]
> *Sent:* Monday, March 07, 2011 11:54 AM
> *To:* user@hive.apache.org
> *Subject:* hello everybody,i am fresher,i meet a problem,please help.
>
>
>
> my eng is very poor.
>
> i set up hive env use
> http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
>
>
>
> but i catch a exception when i run "SHOW TABLES;" script
>
>
>
> somebody can help me ? thanks a lot!
>
>
>
> hive> SHOW TABLES;
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/String;)Z
>
> at
> org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
>
> 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)
>
>
>
>
>
RE: hello everybody,i am fresher,i meet a problem,please help.
Posted by Chinna <ch...@huawei.com>.
No, It won't be a conflict.
In u r hive installation/lib/commons-lang-2.4.jar if this jar is there .
It will come to class path while starting the hive.
I think u r using hive version 0.5.0 or above.
if still this problem is there send the details like how u r starting and
which versions u r using
_____
From: 徐厚道 [mailto:xuhoudao@gmail.com]
Sent: Monday, March 07, 2011 3:06 PM
To: user@hive.apache.org; chinnarao@huawei.com
Cc: "mailto:xuhoudao"@gmail.com
Subject: Re: hello everybody,i am fresher,i meet a problem,please help.
thank you reply!
yes,it is. and hadoop lib dir has commons-lang-2.1.jar, is they Conflict
?
2011/3/7 Chinna <ch...@huawei.com>
Check the lib path,
commons-lang-2.4.jar is in the lib or not.
_____
From: 徐厚道 [mailto:xuhoudao@gmail.com]
Sent: Monday, March 07, 2011 11:54 AM
To: user@hive.apache.org
Subject: hello everybody,i am fresher,i meet a problem,please help.
my eng is very poor.
i set up hive env use
http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
but i catch a exception when i run "SHOW TABLES;" script
somebody can help me ? thanks a lot!
hive> SHOW TABLES;
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/St
ring;)Z
at
org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
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)
Re: hello everybody,i am fresher,i meet a problem,please help.
Posted by 徐厚道 <xu...@gmail.com>.
thank you reply!
yes,it is. and hadoop lib dir has commons-lang-2.1.jar, is they Conflict
?
2011/3/7 Chinna <ch...@huawei.com>
> Check the lib path,
>
>
>
> commons-lang-2.4.jar is in the lib or not.
>
>
>
>
> ------------------------------
>
> *From:* 徐厚道 [mailto:xuhoudao@gmail.com]
> *Sent:* Monday, March 07, 2011 11:54 AM
> *To:* user@hive.apache.org
> *Subject:* hello everybody,i am fresher,i meet a problem,please help.
>
>
>
> my eng is very poor.
>
> i set up hive env use
> http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
>
>
>
> but i catch a exception when i run "SHOW TABLES;" script
>
>
>
> somebody can help me ? thanks a lot!
>
>
>
> hive> SHOW TABLES;
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/String;)Z
>
> at
> org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
>
> 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)
>
>
>
RE: hello everybody,i am fresher,i meet a problem,please help.
Posted by Chinna <ch...@huawei.com>.
Check the lib path,
commons-lang-2.4.jar is in the lib or not.
_____
From: 徐厚道 [mailto:xuhoudao@gmail.com]
Sent: Monday, March 07, 2011 11:54 AM
To: user@hive.apache.org
Subject: hello everybody,i am fresher,i meet a problem,please help.
my eng is very poor.
i set up hive env use
http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
but i catch a exception when i run "SHOW TABLES;" script
somebody can help me ? thanks a lot!
hive> SHOW TABLES;
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/St
ring;)Z
at
org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
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)
RE: hello everybody,i am fresher,i meet a problem,please help.
Posted by Chinna <ch...@huawei.com>.
Check the lib path,
commons-lang-2.4.jar is in the lib or not.
_____
From: 徐厚道 [mailto:xuhoudao@gmail.com]
Sent: Monday, March 07, 2011 11:54 AM
To: user@hive.apache.org
Subject: hello everybody,i am fresher,i meet a problem,please help.
my eng is very poor.
i set up hive env use
http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
but i catch a exception when i run "SHOW TABLES;" script
somebody can help me ? thanks a lot!
hive> SHOW TABLES;
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/St
ring;)Z
at
org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
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)
RE: hello everybody,i am fresher,i meet a problem,please help.
Posted by Chinna <ch...@huawei.com>.
****************************************************************************
***********
This e-mail and attachments contain confidential information
from HUAWEI, which is intended only for the person or entity whose address
is listed above. Any use of the information contained herein in any way
(including, but not limited to, total or partial disclosure, reproduction,
or dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!
_____
From: 徐厚道 [mailto:xuhoudao@gmail.com]
Sent: Monday, March 07, 2011 11:54 AM
To: user@hive.apache.org
Subject: hello everybody,i am fresher,i meet a problem,please help.
my eng is very poor.
i set up hive env use
http://wiki.apache.org/hadoop/Hive/GettingStarted#Apache_Weblog_Data
but i catch a exception when i run "SHOW TABLES;" script
somebody can help me ? thanks a lot!
hive> SHOW TABLES;
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.endsWith(Ljava/lang/String;Ljava/lang/St
ring;)Z
at
org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:187)
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)