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