“创建数据存储失败”将 Pig 与 Hadoop 结合使用时出现错误
我一直在尝试使用 Apache Hadoop 0.20.203.0 运行 Pig 0.9.0。我在谷歌和邮件列表上到处寻找,甚至这个问题: 无法使用单节点hadoop服务器运行pig,但我仍然无法让Grunt(Pig shell)在集群设置中运行(当然,我可以在本地模式下正常运行提示符)。
我已经尝试过给出的解决方案 - 在没有 hadoop 的情况下重新编译,将 hadoop 库和pig-withouthadoop.jar 添加到我的 PIG_CLASSPATH 变量中...没有任何效果。我刚刚收到错误
2011-08-02 10:56:00,709 [main] 错误 org.apache.pig.Main - 错误 2999:意外的内部错误。创建数据存储失败
不完全确定从这里到哪里去。我在 Apache Pig 开发网站或其他网站(他们的版本控制网站或其他网站)上看到过一些对此的讨论,并且有一些建议的脚本,但我无法弄清楚他的包装脚本在做什么或如何使用它: https://issues.apache.org/jira/browse/PIG-2183 。也许解决方案就在该链接中?
我正在运行单节点 hadoop 设置(不是本地模式)...Hadoop 工作正常。
I've been trying to get Pig 0.9.0 to run using Apache Hadoop 0.20.203.0. I've looked high and low over google and mailing lists and even this question: cant run pig with single node hadoop server , but I still can't get Grunt, the Pig shell, to run in a cluster-setup (I can run the prompt fine in local mode, of course).
I've tried the solutions given - recompiling without hadoop, adding the hadoop library and the pig-withouthadoop.jar to my PIG_CLASSPATH variable...nothing works. I just get the error
2011-08-02 10:56:00,709 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage
Not entirely sure where to go from here. I've seen a few discussions of this on the Apache Pig development website or something (their version control site or whatever) and there were some proposed scripts but I couldn't figure out what his wrapper script was doing or how to use it: https://issues.apache.org/jira/browse/PIG-2183 . Maybe the solution lies in that link?
I'm running a single-node hadoop setup (NOT local mode)...Hadoop works fine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查 https://cwiki.apache.org/confluence/display/PIG/FAQ#FAQ-Q%3AWhatshallIdoifIsaw%22FailedtocreateDataStorage%22%3F
Check https://cwiki.apache.org/confluence/display/PIG/FAQ#FAQ-Q%3AWhatshallIdoifIsaw%22FailedtocreateDataStorage%22%3F
通常这是一个库问题。检查是否已将所有依赖项添加到 Pig 文件中。目前很难指出正确的。
Typically it's a library issue. Check that you have all the dependencies added to the pig file. Hard to point to the right one at the moment.