Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> INSERT INTO TABLE failing in Reducer phase - Unable to rename output file


Copy link to this message
-
INSERT INTO TABLE failing in Reducer phase - Unable to rename output file
Hi,

I am moving data from HBase table to a Hive table.

I have external Hive table that maps to a HBase table. I perform
select query on that external Hive table and insert data to another
Hive table.

I do not have any partitions set on destination table. Please let me
know how can I fix this issue.

Here's exception stack trace -

java.lang.RuntimeException: Hive Runtime Error while closing
operators: Unable to rename output from:
hdfs://shn-sjc-prod-hadoop1:54310/tmp/hive-hduser/hive_2013-06-25_17-51-14_675_4116340321788217628/_task_tmp.-mr-10002/_tmp.000006_0
to: hdfs://shn-sjc-prod-hadoop1:54310/tmp/hive-hduser/hive_2013-06-25_17-51-14_675_4116340321788217628/_tmp.-mr-10002/000006_0
at org.apache.hadoop.hive.ql.exec.ExecReducer.close(ExecReducer.java:313)
at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:502)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:436)
at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
at org.apache.hadoop.mapred.Child.main(Child.java:262)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to
rename output from: hdfs://shn-sjc-prod-hadoop1:54310/tm
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB