开发者

getting error when executing Cassandra WordCount on Hadoop: java.lang.NoSuchMethodError: org.apache.thrift.meta_data.FieldValueMetaData.<init>(BZ)V

Trying to execute WordCount example from cassandra and getting an error:

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.thrift.meta_data.FieldValueMetaData.(BZ)V at org.apache.cassandra.thrift.SlicePredicate.(SlicePredicate.java:132) at WordCount.run(WordCount.java:199) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at WordCount.main(WordCount.java:74) 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:186)

thank you in advance!


edited hadoop.sh, inserted fixed classpath list and tried to take out different libraries from classpath, found that hue-plugins-1.2.0.jar interferes with Thrift.

this solved the problem: sudo rm /usr/lib/hadoop-0.20/lib/hue-plugins-1.2.0.jar

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜