ElephantBird ERROR 1070:--->班级没有阅读 [英] ElephantBird ERROR 1070: --- > class not getting read

查看:158
本文介绍了ElephantBird ERROR 1070:--->班级没有阅读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

My problem is similar to this unanswered question :


[ https://stackoverflow.com/questions/42140344/elephantbird-dependency-jars] [1]

我已经注册了大象鸟必须运行的所有jar。

i have registered all jars mandatory for elephantbird to function.

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';




以下链接告诉我这些信息:
1:
从HDFS加载数据不起作用与大象鸟

2:

2 : how to load twitter data from hdfs using pig?



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

我收到以下错误:

I receive following error :


错误1070:无法使用导入来解析
com.twitter.elephantbird.pig.load.JsonLoader:[,
java.lang。,org.apache.pig.builtin。,org.apache。 pig.impl.builtin。]

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

感谢任何帮助,我尝试了几乎所有可能的解决方案ons across web。

Any help is appreciated , I tried almost all possible solutions across web.

推荐答案

这是一个版本控制问题。从这个链接尝试了很多jar之后,它终于与elephant-bird-pig-4.14.jar

This was an versioning problem. After trying many jars from this link , it finally worked with 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';

这篇关于ElephantBird ERROR 1070:--->班级没有阅读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆