Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2679

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.0
    • None
    • Metastore, Query Processor
    • None

    Description

      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.

      Attachments

        1. hive-2679.patch
          5 kB
          Lijin Bin
        2. hive-2679-2.patch
          4 kB
          Lijin Bin

        Activity

          People

            binlijin Lijin Bin
            binlijin Lijin Bin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: