Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.5.0
-
None
-
None
Description
When a file is corrupted, the skip function can return 0, causing an infinite loop.
Here is the code:
private boolean slowReadUntilMatch(Pattern markPattern, boolean includePat, DataOutputBuffer outBufOrNull) throws IOException { ... for (long skiplen = endPos; skiplen > 0; ) { skiplen -= bin_.skip(skiplen); } ... }
Similar bugs are Hadoop-8614, Yarn-2905, Yarn-163, MAPREDUCE-6990