Hive has been installed before, and there have been countless operations and no errors have been found. Today, because the previously installed hadoop cannot be used, I don't know why, and I always prompt node 0, therefore, hadoop and hive are re-installed. No error was found after installing and testing hive to create a table, but the following error is reported when you execute create table tab_name as select * from (original table:
Failed with exception unable to rename: HDFS: // hadoop: 9000/tmp/hive-root/Hi ve_2014-10-29_07-37-23_125_5663862080807255323/-ext-10001 to: HDFS: // hadoop: 9000/user/hive/warehouse/T1
Failed: execution error, return code 1 from org.apache.hadoop.hive.ql.exe C. movetask
Online looked for a long time, finally found, said to be in the hive-site.xml hive. Insert. Into. Multilevel. dirs in the value of true can be.
- <Property>
- <Name> hive. Insert. Into. Multilevel. dirs </Name>
- <Value> false </value>
- </Property>
Hive error: Failed with exception unable to rename