You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by ZhangGang bertzhang <be...@hotmail.com> on 2010/09/17 05:49:58 UTC

hive :NoSuchMethodError‏

hello everyone,
 
hadoop:0.20.2
hive:0.5.0
how to solve the problem?
 
hive> create table test(AA STRING, BB STRING);
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:172)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:287)
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)
 
help!