Home | About | Sematext search-lucene.com search-hadoop.com
 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
-
Re: INSERT INTO TABLE failing in Reducer phase - Unable to rename output file
I am really not sure if you are hitting this one

   - HIVE-3828 <https://issues.apache.org/jira/browse/HIVE-3828>
Will it be possible for you to upgrade to hive-0.11 and check?
On Wed, Jun 26, 2013 at 9:54 AM, Ashish Nigam <[EMAIL PROTECTED]>wrote:

> I am using hive-0.10.0-cdh4.2.0.
>
>
> On Tue, Jun 25, 2013 at 12:27 PM, Nitin Pawar <[EMAIL PROTECTED]>wrote:
>
>> what version of hive are you using?
>>
>>
>> On Tue, Jun 25, 2013 at 11:33 PM, Ashish Nigam <[EMAIL PROTECTED]>wrote:
>>
>>> 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
>>>
>>>
>>
>>
>> --
>> Nitin Pawar
>>
>
>
--
Nitin Pawar