You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "binlijin (Created) (JIRA)" <ji...@apache.org> on 2011/12/26 11:25:31 UTC

[jira] [Created] (HIVE-2679) ctas should check the table do not exists just right before move the data to the table's directory

ctas should check the table do not exists just right before move the data to the table's directory 
---------------------------------------------------------------------------------------------------

                 Key: HIVE-2679
                 URL: https://issues.apache.org/jira/browse/HIVE-2679
             Project: Hive
          Issue Type: Bug
            Reporter: binlijin
             Fix For: 0.9.0


Some one first runs a ctas sql and the MR job takes a long time, another one runs another ctas sql and the MR job takes a short time and finishs before the first one. when the two ctas sql's tablename are the same, the first one will move data to the table's directory success but the create table task will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2679) ctas should check the table do not exists just right before move the data to the table's directory

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

binlijin updated HIVE-2679:
---------------------------

    Attachment: hive-2679.patch
    
> ctas should check the table do not exists just right before move the data to the table's directory 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2679
>                 URL: https://issues.apache.org/jira/browse/HIVE-2679
>             Project: Hive
>          Issue Type: Bug
>            Reporter: binlijin
>             Fix For: 0.9.0
>
>         Attachments: hive-2679.patch
>
>
> Some one first runs a ctas sql and the MR job takes a long time, another one runs another ctas sql and the MR job takes a short time and finishs before the first one. when the two ctas sql's tablename are the same, the first one will move data to the table's directory success but the create table task will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HIVE-2679) ctas should check the table do not exists just right before move the data to the table's directory

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

Ashutosh Chauhan reassigned HIVE-2679:
--------------------------------------

    Assignee: binlijin
    
> ctas should check the table do not exists just right before move the data to the table's directory 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2679
>                 URL: https://issues.apache.org/jira/browse/HIVE-2679
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Query Processor
>    Affects Versions: 0.9.0
>            Reporter: binlijin
>            Assignee: binlijin
>         Attachments: hive-2679.patch
>
>
> Some one first runs a ctas sql and the MR job takes a long time, another one runs another ctas sql and the MR job takes a short time and finishs before the first one. when the two ctas sql's tablename are the same, the first one will move data to the table's directory success but the create table task will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2679) ctas should check the table do not exists just right before move the data to the table's directory

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

Ashutosh Chauhan updated HIVE-2679:
-----------------------------------

          Component/s: Query Processor
                       Metastore
    Affects Version/s: 0.9.0
        Fix Version/s:     (was: 0.9.0)

Unlinking from 0.9
                
> ctas should check the table do not exists just right before move the data to the table's directory 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2679
>                 URL: https://issues.apache.org/jira/browse/HIVE-2679
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Query Processor
>    Affects Versions: 0.9.0
>            Reporter: binlijin
>         Attachments: hive-2679.patch
>
>
> Some one first runs a ctas sql and the MR job takes a long time, another one runs another ctas sql and the MR job takes a short time and finishs before the first one. when the two ctas sql's tablename are the same, the first one will move data to the table's directory success but the create table task will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2679) ctas should check the table do not exists just right before move the data to the table's directory

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

binlijin updated HIVE-2679:
---------------------------

    Attachment: hive-2679-2.patch
    
> ctas should check the table do not exists just right before move the data to the table's directory 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2679
>                 URL: https://issues.apache.org/jira/browse/HIVE-2679
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Query Processor
>    Affects Versions: 0.9.0
>            Reporter: binlijin
>            Assignee: binlijin
>         Attachments: hive-2679-2.patch, hive-2679.patch
>
>
> Some one first runs a ctas sql and the MR job takes a long time, another one runs another ctas sql and the MR job takes a short time and finishs before the first one. when the two ctas sql's tablename are the same, the first one will move data to the table's directory success but the create table task will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira