Hive 1.2.1

在执行insert overwrite directory 'xxx' select xxx的时候fail了,报错如下:

Failed with exception Unable to move source hdfs:\/\/nncluster\/dev_test\/dli\/test\/.hive-staging_hive_2016-07-29_14-05-20_394_1107226828861750264-1\/-ext-10000 to destination \/dev_test\/dli\/test

解决办法:

在运行该Hive脚本的client

将${HADOOP_HOME}\/share\/hadoop\/tools\/lib\/\/hadoop-distcp-2.6.0-cdh5.5.1.jar cp到 ${HIVE_HOME}\/lib\/下

results matching ""

    No results matching ""