Check the lib path,

 

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

 

  _____  

From: 徐厚道 [mailto:xuhou...@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)

 

Reply via email to