Hadoop Common
  1. Hadoop Common
  2. HADOOP-6593

TextRecordInputStream doesn't close SequenceFile.Reader

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      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.

      1. HADOOP-6593.patch
        0.5 kB
        Chase Bradford

        Activity

          People

          • Assignee:
            Chase Bradford
            Reporter:
            Chase Bradford
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development