简体   繁体   English

蜂巢:Mapreduce文件丢失

[英]Hive: Mapreduce File missing

I can enter Hive-cli and create new tables. 我可以输入Hive-cli并创建新表。 However, when I try to insert data to the table, it says: 但是,当我尝试向表中插入数据时,它说:

java.io.FileNotFoundException: File does not exist: hdfs://nameservice1/user/yarn/mapreduce/mr-framework/3.0.0-cdh6.0.1-mr-framework.tar.gz

but the HDFS path hdfs dfs -ls /user/yarn does not exist at all. 但是HDFS路径hdfs dfs -ls /user/yarn根本不存在。

The status of HDFS , YARN/MR , and Hive are fine, and I tried to restart all these frameworks. HDFSYARN/MRHive都很好,我尝试重新启动所有这些框架。 Why Yarn did not generate the path on HDFS and did not put the tar file to the HDFS path? 为什么Yarn没有在HDFS上生成路径,也没有将tar文件放入HDFS路径?

How to fix this issue? 如何解决这个问题? Any help is appreciated. 任何帮助表示赞赏。

Solved: I assume this issue only occurs in Cloudera Manager 6.x version. 已解决:我认为此问题仅在Cloudera Manager 6.x版本中发生。

To solve it, in the cm web page, click YARN (MR2 Included) -> action -> Install YARN MapReduce frame jar . 要解决此问题,请在cm网页中单击YARN (MR2 Included) -> action -> Install YARN MapReduce frame jar

Then this problem gets solved. 然后这个问题就解决了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM