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 <chinna...@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:xuhou...@gmail.com] > *Sent:* Monday, March 07, 2011 3:06 PM > *To:* user@hive.apache.org; chinna...@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 <chinna...@huawei.com> > > 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/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) > > > > >
<<33D.gif>>