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

Empty dir in external table causes issue (root_dir_external_table.q failure)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      None

      Description

      While looking at root_dir_external_table.q failure, which is doing a query on an external table located at root ('/'), I noticed that latest Hadoop2 CombineFileInputFormat returns split representing empty directories (like '/Users'), which leads to failure in Hive's CombineFileRecordReader as it tries to open the directory for processing.

      Tried with an external table in a normal HDFS directory, and it also returns the same error. Looks like a real bug.

        Attachments

        1. HIVE-7220.2.patch
          11 kB
          Szehon Ho
        2. HIVE-7220.3.patch
          8 kB
          Gunther Hagleitner
        3. HIVE-7220.4.patch
          11 kB
          Gunther Hagleitner
        4. HIVE-7220.5.patch
          10 kB
          Szehon Ho
        5. HIVE-7220.5.patch
          10 kB
          Szehon Ho
        6. HIVE-7220.patch
          9 kB
          Szehon Ho

          Issue Links

            Activity

              People

              • Assignee:
                szehon Szehon Ho
                Reporter:
                szehon Szehon Ho
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: