gpt4 book ai didi

hadoop - Hadoop的Pig脚本错误

转载 作者:行者123 更新时间:2023-12-02 21:43:47 24 4
gpt4 key购买 nike

我收到以下错误消息后,我的Pig脚本无法运行:

ls: cannot access /hadoop/yarn/local/usercache/hue/appcache/application_1415547956892_0004/container_1415547956892_0004_01_000002/hive.tar.gz/hive/lib/slf4j-api-*.jar: No such file or directory
ls: cannot access /hadoop/yarn/local/usercache/hue/appcache/application_1415547956892_0004/container_1415547956892_0004_01_000002/hive.tar.gz/hive/lib/commons-lang3-*.jar: No such file or directory
ls: cannot access /hadoop/yarn/local/usercache/hue/appcache/application_1415547956892_0004/container_1415547956892_0004_01_000002/hive.tar.gz/hive/hcatalog/lib/*hbase-storage-handler-*.jar: No such file or directory
Error: Could not find or load main class hive.metastore.sasl.enabled=false

谁能告诉我该怎么做?

我整天都在处理任何帮助,将不胜感激。

最佳答案

做这个,

1)将这些文件复制到HADOOP库。

sudo cp /usr/lib/hive/lib/hive-common-0.7.0-cdh3u0.jar  /usr/lib/hadoop/lib/
sudo cp /usr/lib/hive/lib/hbase-0.90.1-cdh3u0.jar /usr/lib/hadoop/lib/
sudo cp /usr/lib/hive/lib/hbase-0.90.1-cdh3u0.jar /usr/lib/hadoop/lib/

2)使用以下逗号关闭HBASE和HADOOP
/usr/lib/hadoop/bin/stop-all.sh
/usr/lib/hbase/bin/stop-hbase.sh

3)使用COMMOND重新启动HBASE和HADOOP
 /usr/lib/hadoop/bin/start-all.sh
/usr/lib/hadoop/bin/start-hbase.sh

现在,使用Hbase存储处理程序在Hive中创建表。

在hive-site.xml中写入此属性
<configuration>
<property>
<name>hive.metastore.schema.verification</name>
<value>false</value>
</property>

关于hadoop - Hadoop的Pig脚本错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26833885/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com