ElephantBird 错误 1070:--- > class 未读取

ElephantBird ERROR 1070: --- > class not getting read

我的问题类似于这个未回答的问题:

[

我已经注册了 elephantbird 运行所必需的所有 jar。

REGISTER '/MyJARS/elephant-bird-hadoop-compat-4.1
REGISTER '/MyJARS/json-simple-1.1.jar';
REGISTER '/MyJARS/elephant-bird-pig-4.1.jar';
REGISTER '/MyJARS/elephant-bird-core-4.10.jar';
REGISTER '/MyJARS/google-collections-1.0.jar';

following links tell me these info : 1 : Loading data from HDFS does not work with Elephantbird

2 :

My current versions :
Hadoop: Hadoop 2.6.0-cdh5.7.3
Pig: Apache Pig version 0.12.0-cdh5.7.3 (rexported) 

我收到以下错误:

ERROR 1070: Could not resolve com.twitter.elephantbird.pig.load.JsonLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]

感谢任何帮助,我尝试了网络上几乎所有可能的解决方案。

这是一个版本控制问题。在尝试了 this link 的许多罐子之后,它终于与 elephant-bird-pig-4.14.jar

一起工作了
REGISTER '/MyJARS/elephant-bird-hadoop-compat-4.1
REGISTER '/MyJARS/json-simple-1.1.jar';
REGISTER '/MyJARS/elephant-bird-pig-4.14.jar';
REGISTER '/MyJARS/elephant-bird-core-4.10.jar';
REGISTER '/MyJARS/google-collections-1.0.jar';