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

CombineHiveInputFormat is falling back to HiveInputFormat in case codecs are found for one of the input files

    Details

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

      Description

      https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java#L379

      This is the exact code snippet:

      / Since there is no easy way of knowing whether MAPREDUCE-1597 is present in the tree or not,
            // we use a configuration variable for the same
            if (this.mrwork != null && !this.mrwork.getHadoopSupportsSplittable()) {
              // The following code should be removed, once
              // https://issues.apache.org/jira/browse/MAPREDUCE-1597 is fixed.
              // Hadoop does not handle non-splittable files correctly for CombineFileInputFormat,
              // so don't use CombineFileInputFormat for non-splittable files
      
              //ie, dont't combine if inputformat is a TextInputFormat and has compression turned on
      
      

        Attachments

        1. HIVE-11376.02.patch
          6 kB
          Rajat Khandelwal

          Issue Links

            Activity

              People

              • Assignee:
                prongs Rajat Khandelwal
                Reporter:
                prongs Rajat Khandelwal
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: