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/02/25 22:47:04 UTC

[jira] Created: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

"LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
--------------------------------------------------------------------------------------

                 Key: HIVE-307
                 URL: https://issues.apache.org/jira/browse/HIVE-307
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.2.0, 0.3.0
            Reporter: Zheng Shao


Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Kirk True updated HIVE-307:
---------------------------

    Attachment: HIVE-307.patch

Here is a resubmission of the patch with a CLI-based unit test.

Let me know what else needs to be addressed.

Thanks!

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919410#action_12919410 ] 

Namit Jain commented on HIVE-307:
---------------------------------

Looks good - I will start the tests

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Kirk True updated HIVE-307:
---------------------------

    Attachment: HIVE-307.patch

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Priority: Critical
>         Attachments: HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Ashish Thusoo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681133#action_12681133 ] 

Ashish Thusoo commented on HIVE-307:
------------------------------------

Thanks soooooooooo much!!

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Zheng Shao
>            Priority: Critical
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Namit Jain updated HIVE-307:
----------------------------

    Status: Open  (was: Patch Available)

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Ashish Thusoo updated HIVE-307:
-------------------------------

      Status: Open  (was: Patch Available)
    Assignee: Kirk True

Cancelling the patch because of a missing test case. Krik, would be great if you can resubmit with the test case. Otherwise the code looks fine to me.

Ashish

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

He Yongqiang updated HIVE-307:
------------------------------

    Attachment: hive-307.1.svn.patch

svn patch

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Luis Ramos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751233#action_12751233 ] 

Luis Ramos commented on HIVE-307:
---------------------------------

what is the work around exactly? OVERWRITE?

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Zheng Shao
>            Priority: Critical
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921109#action_12921109 ] 

Namit Jain commented on HIVE-307:
---------------------------------

+1

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch, HIVE-307.v3.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Kirk True updated HIVE-307:
---------------------------

    Attachment: HIVE-307.v3.patch

v3 of patch includes Namit's suggested test case and rebased against SVN trunk.

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>             Fix For: 0.7.0
>
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch, HIVE-307.v3.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Kirk True updated HIVE-307:
---------------------------

    Status: Patch Available  (was: Open)

Patch attached.

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919873#action_12919873 ] 

Namit Jain commented on HIVE-307:
---------------------------------

@Kirk, please go ahead and make the change.

Yongqiang was just trying to get an svn compatible patch from your patch

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Joydeep Sen Sarma updated HIVE-307:
-----------------------------------

    Priority: Blocker  (was: Major)

hey - i think this is worth fixing even though the workaround is clear. just looks kind of silly and is trivial to fix.

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Zheng Shao
>            Priority: Blocker
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Kirk True (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919424#action_12919424 ] 

Kirk True commented on HIVE-307:
--------------------------------

Namit - is there a DDL command to list the files inside the location? It would be great to see the renamed file show up in a describe extended tst_src1 or something.

Also - do you want *me* to make the changes or someone else?

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919420#action_12919420 ] 

Namit Jain commented on HIVE-307:
---------------------------------

The code changes looked good, but the patch does not compile - mostly simple errors due to the new trunk code.

Also, it would be better to have a test like this:


drop table tst_src1;
create table tst_src1 like src1;
load data local inpath '../data/files/kv1.txt' into table tst_src1 ;
select count(1) from tst_src1;
load data local inpath '../data/files/kv1.txt' into table tst_src1 ;
select count(1) from tst_src1;
drop table tst_src1;



We should not change src1

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "Ashish Thusoo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910799#action_12910799 ] 

Ashish Thusoo commented on HIVE-307:
------------------------------------

Hi Kirk,

Thanks for the contribution. Can you add a simple test case with your patch?

Ashish

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Priority: Critical
>         Attachments: HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Kirk True updated HIVE-307:
---------------------------

        Fix Version/s: 0.7.0
    Affects Version/s:     (was: 0.5.0)
                       0.7.0
               Status: Patch Available  (was: Open)

Patch based against latest trunk from SVN.

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>             Fix For: 0.7.0
>
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch, HIVE-307.v3.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Joydeep Sen Sarma updated HIVE-307:
-----------------------------------

    Priority: Critical  (was: Blocker)

trying to avoid the wrath of the Ashish

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Zheng Shao
>            Priority: Critical
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Kirk True updated HIVE-307:
---------------------------

    Affects Version/s:     (was: 0.7.0)
                       0.5.0
        Fix Version/s:     (was: 0.7.0)

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch, HIVE-307.v3.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

Posted by "He Yongqiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919443#action_12919443 ] 

He Yongqiang commented on HIVE-307:
-----------------------------------

Please go ahead make the change. 
And it will be perfect if you can upload a svn compatible patch (can be applied cleanly with "patch -p0 <" in a svn checkout).

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Namit Jain updated HIVE-307:
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed. Thanks Kirk

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Kirk True
>            Priority: Critical
>             Fix For: 0.7.0
>
>         Attachments: hive-307.1.svn.patch, HIVE-307.patch, HIVE-307.patch, HIVE-307.v3.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-307) "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name

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

Kirk True updated HIVE-307:
---------------------------

               Status: Patch Available  (was: Open)
    Affects Version/s: 0.5.0
                           (was: 0.3.0)
                           (was: 0.6.0)

Including a patch that renames the staging files if it's noticed that they're in conflict with pre-existing files.

> "LOAD DATA LOCAL INPATH" fails when the table already contains a file of the same name
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-307
>                 URL: https://issues.apache.org/jira/browse/HIVE-307
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Priority: Critical
>         Attachments: HIVE-307.patch
>
>
> Failed with exception checkPaths: /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already exists
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.