Discussion:
hello everybody,i am fresher,i meet a problem,please help.
(too old to reply)
徐厚道
2011-03-07 06:23:31 UTC
Permalink
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)
Chinna
2011-03-07 09:19:07 UTC
Permalink
Check the lib path,



commons-lang-2.4.jar is in the lib or not.





_____

From: $B=y8|F;(B [mailto:xuhoudao-***@public.gmane.org]
Sent: Monday, March 07, 2011 11:54 AM
To: user-***@public.gmane.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)
徐厚道
2011-03-07 09:36:20 UTC
Permalink
thank you reply!
yes,it is. and hadoop lib dir has commons-lang-2.1.jar, is they Conflict
£¿
Post by Chinna
Check the lib path,
commons-lang-2.4.jar is in the lib or not.
------------------------------
*Sent:* Monday, March 07, 2011 11:54 AM
*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;
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)
Chinna
2011-03-07 09:56:40 UTC
Permalink
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: $B=y8|F;(B [mailto:xuhoudao-***@public.gmane.org]
Sent: Monday, March 07, 2011 3:06 PM
To: user-***@public.gmane.org; chinnarao-hv44wF8Li93QT0dZR+***@public.gmane.org
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
$B!)(B



2011/3/7 Chinna <chinnarao-hv44wF8Li93QT0dZR+***@public.gmane.org>

Check the lib path,



commons-lang-2.4.jar is in the lib or not.





_____

From: $B=y8|F;(B [mailto:xuhoudao-***@public.gmane.org]
Sent: Monday, March 07, 2011 11:54 AM
To: user-***@public.gmane.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)
徐厚道
2011-03-08 01:15:17 UTC
Permalink
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!
Post by Chinna
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
------------------------------
*Sent:* Monday, March 07, 2011 3:06 PM
*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
£¿
Check the lib path,
commons-lang-2.4.jar is in the lib or not.
------------------------------
*Sent:* Monday, March 07, 2011 11:54 AM
*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;
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)
Chinna
2011-03-07 09:28:42 UTC
Permalink
****************************************************************************
***********

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: $B=y8|F;(B [mailto:xuhoudao-***@public.gmane.org]
Sent: Monday, March 07, 2011 11:54 AM
To: user-***@public.gmane.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)
Chinna
2011-03-07 09:29:58 UTC
Permalink
Check the lib path,



commons-lang-2.4.jar is in the lib or not.



_____

From: $B=y8|F;(B [mailto:xuhoudao-***@public.gmane.org]
Sent: Monday, March 07, 2011 11:54 AM
To: user-***@public.gmane.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)
徐厚道
2011-03-16 06:35:43 UTC
Permalink
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
Post by 徐厚道
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;
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)
Continue reading on narkive:
Loading...