Skip to content

Instantly share code, notes, and snippets.

@daynebatten
Last active March 21, 2016 18:23
Show Gist options
  • Save daynebatten/b10522de4a30b568a07a to your computer and use it in GitHub Desktop.
Save daynebatten/b10522de4a30b568a07a to your computer and use it in GitHub Desktop.
fileBroken = false;
FileSplit split = (FileSplit) genericSplit;
this.splitName = split.getPath().toString();
if (split.getLength() == 0) {
fileBroken = true;
LOG.warn("Problem reading file " + this.splitName + " - Zero-length file.");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment