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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • 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.patch
          9 kB
          Szehon Ho
        2. HIVE-7220.5.patch
          10 kB
          Szehon Ho
        3. HIVE-7220.5.patch
          10 kB
          Szehon Ho
        4. HIVE-7220.4.patch
          11 kB
          Gunther Hagleitner
        5. HIVE-7220.3.patch
          8 kB
          Gunther Hagleitner
        6. HIVE-7220.2.patch
          11 kB
          Szehon Ho

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: