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

CTAS with no data fails in Druid

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Druid integration
    • Labels:
      None
    • Target Version/s:

      Description

      If we create a table in Druid using a CTAS statement and the query executed to create the table produces no data, we fail with the following exception:

      druid.DruidStorageHandler: Exception while commit
      java.io.FileNotFoundException: File /tmp/workingDirectory/.staging-jcamachorodriguez_20170515053123_835c394b-2157-4f6b-bfed-a2753acd568e/segmentsDescriptorDir does not exist.
      ...
      

        Attachments

        1. HIVE-16677.01.patch
          24 kB
          Jesus Camacho Rodriguez
        2. HIVE-16677.02.patch
          24 kB
          Jesus Camacho Rodriguez
        3. HIVE-16677.04.patch
          25 kB
          Jesus Camacho Rodriguez
        4. HIVE-16677.patch
          24 kB
          Jesus Camacho Rodriguez

          Issue Links

            Activity

              People

              • Assignee:
                jcamachorodriguez Jesus Camacho Rodriguez
                Reporter:
                jcamachorodriguez Jesus Camacho Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: