Failed with exception Unable to move source hdfs://maeter:8000/usr/local/hadoop/input/test_hive/test

来源:互联网 发布:java解析json数组数据 编辑:程序博客网 时间:2024/05/18 00:25
Hive执行的过程报  

Failed with exception Unable to move source hdfs://maeter:8000/usr/local/hadoop/input/test_hive/test_hive.txt to destination hdfs://maeter:8000/usr/hive/warehouse/test_hive2/test_hive.txt


是因为hive执行的时候,对hdfs的访问权限不够


执行:

    hadoop fs -chmod -R 755 /tmp

   hadoop fs -chmod -R  777/usr

0 0