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

CombineHiveInputSplit should initialize the inputFileFormat once for a single split

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      If a split consists of multiple files, the FileFormat should always be the same, whether RCFile or SequenceFile. Currently the CombineHiveInputSplit tries to get the inputFileFormat for each new file in the split, which is O where n is the number of files in the split. This is an O(n^2) operation and degrade the performance badly for combining large number of small files.

      Attachments

        1. HIVE-1357.patch
          2 kB
          Ning Zhang

        Activity

          People

            nzhang Ning Zhang
            nzhang Ning Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: