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.