Skip to content

Instantly share code, notes, and snippets.

@daynebatten
Last active March 21, 2016 18:25
Show Gist options
  • Save daynebatten/dca7d149b1a9e76efda3 to your computer and use it in GitHub Desktop.
Save daynebatten/dca7d149b1a9e76efda3 to your computer and use it in GitHub Desktop.
try {
if (start != 0) {
start += in.readLine(new Text(), 0, maxBytesToConsume(start));
}
} catch (IOException e) {
fileBroken = true;
LOG.warn("Problem reading file " + this.splitName + " - " + e.getMessage());
} finally {
this.pos = start;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment