Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-960

Using Hadoop's optimized LineRecordReader for reading Tuples in PigStorage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • impl
    • None
    • Patch Available

    Description

      PigStorage's reading of Tuples ( lines ) can be optimized using Hadoop's LineRecordReader.

      This can help in following areas

      • Improving performance reading of Tuples (lines) in PigStorage
      • Any future improvements in line reading done in Hadoop's LineRecordReader is automatically carried over to Pig

      Issues that are handled by this patch

      • BZip uses internal buffers and positioning for determining the number of bytes read. Hence buffering done by LineRecordReader has to be turned off
      • Current implementation of LocalSeekableInputStream does not implement available method. This method has to be implemented.

      Attachments

        1. pig_rlr.patch
          39 kB
          Ankit Modi

        Activity

          People

            ankit.modi Ankit Modi
            ankit.modi Ankit Modi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: