You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/05/22 23:26:45 UTC

[jira] Created: (HIVE-506) MoveTask was not reporting errors

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.


[jira] Resolved: (HIVE-506) MoveTask was not reporting errors

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao resolved HIVE-506.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.4.0
     Release Note: HIVE-506. MoveTask should fail if target path cannot be deleted. (Yongqiang He via zshao)
     Hadoop Flags: [Reviewed]

Committed. Thanks Yongqiang!

> 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
>             Fix For: 0.4.0
>
>         Attachments: patch-506-2009-05-23.patch, patch-506-2009-05-29.patch
>
>
> {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.


[jira] Updated: (HIVE-506) MoveTask was not reporting errors

Posted by "He Yongqiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

He Yongqiang updated HIVE-506:
------------------------------

    Attachment: patch-506-2009-05-29.patch

An update against trunk.

> 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
>         Attachments: patch-506-2009-05-23.patch, patch-506-2009-05-29.patch
>
>
> {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.


[jira] Updated: (HIVE-506) MoveTask was not reporting errors

Posted by "He Yongqiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

He Yongqiang updated HIVE-506:
------------------------------

    Attachment: patch-506-2009-05-23.patch

> 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
>         Attachments: patch-506-2009-05-23.patch
>
>
> {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.


[jira] Commented: (HIVE-506) MoveTask was not reporting errors

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ 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.