Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2466

FileInputFormat computeSplitSize() method, change visibility to protected and make it a member method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.16.0
    • None
    • None
    • all

    Description

      Currently the computeSplitSize() method is private and static. Because of this, to make a subclass of the FileInputFormat that changes the logic to compute the split size, the whole getSplits() method has to be rewritten.

      By making it a member method and protected the logic to compute the split size can be changed and the getSplits() method can be reused.

      Attachments

        1. patch2466.txt
          0.6 kB
          Alejandro Abdelnur

        Activity

          People

            tucu00 Alejandro Abdelnur
            tucu00 Alejandro Abdelnur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: