Hive error: Failed with exception unable to rename

Source: Internet
Author: User

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.

  1. <Property>
  2. <Name> hive. Insert. Into. Multilevel. dirs </Name>
  3. <Value> false </value>
  4. </Property>

Hive error: Failed with exception unable to rename

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.