[
https://issues.apache.org/jira/browse/HIVE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712271#action_12712271
]
Zheng Shao commented on HIVE-506:
---------------------------------
This happens if the current user does not have privilege to delete an existing
output directory.
> MoveTask was not reporting errors
> ---------------------------------
>
> Key: HIVE-506
> URL: https://issues.apache.org/jira/browse/HIVE-506
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Zheng Shao
>
> {code:sql}
> INSERT OVERWRITE LOCAL DIRECTORY '/home/jerryf/bb'
> SELECT *
> FROM tmp_table a;
> {code}
> The message is
> {code}
> 09/05/22 14:20:19 INFO exec.MoveTask: Copying data to local directory
> /home/jerryf/bb from /tmp/hive-zshao/1172840657/53111279.10000.insclause-0
> Unable to delete the existing destination directory: /home/jerryf/bb
> 09/05/22 14:20:19 INFO exec.MoveTask: Unable to delete the existing
> destination directory: /home/jerryf/bb
> 1 Rows loaded to /home/jerryf/bb
> 09/05/22 14:20:19 INFO exec.HiveHistory: 1 Rows loaded to /home/jerryf/bb
> OK
> 09/05/22 14:20:19 INFO ql.Driver: OK
> Time taken: 14.835 seconds
> {code}
> Hive should report error instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.