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

TextRecordInputStream doesn't close SequenceFile.Reader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.1
    • 0.21.0
    • fs
    • None
    • Reviewed

    Description

      Using hadoop fs -text on a glob with many sequence files can fail with too many open file handles.

      The cause seems to be that TextRecordInputStream doesn't override close(), so printToStdout's call to close doesn't release the SequenceFile.Reader.

      Attachments

        1. HADOOP-6593.patch
          0.5 kB
          Chase Bradford

        Activity

          People

            cbradford Chase Bradford
            cbradford Chase Bradford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: