HADOOP-7568. SequenceFile should not print into stdout. Contributed by Plamen Jeliazkov.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1169929 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Konstantin Shvachko 2011-09-12 21:17:12 +00:00
parent 3085732384
commit 5c170d84ec
2 changed files with 3 additions and 1 deletions

View File

@ -1080,6 +1080,9 @@ Release 0.22.0 - Unreleased
HADOOP-7390. VersionInfo not generated properly in git after unsplit. (todd HADOOP-7390. VersionInfo not generated properly in git after unsplit. (todd
via atm) via atm)
HADOOP-7568. SequenceFile should not print into stdout.
(Plamen Jeliazkov via shv)
Release 0.21.1 - Unreleased Release 0.21.1 - Unreleased
IMPROVEMENTS IMPROVEMENTS

View File

@ -1668,7 +1668,6 @@ public class SequenceFile {
try { try {
seek(start); seek(start);
this.end = this.in.getPos() + length; this.end = this.in.getPos() + length;
System.out.println("Setting end to " + end);
// if it wrapped around, use the max // if it wrapped around, use the max
if (end < length) { if (end < length) {
end = Long.MAX_VALUE; end = Long.MAX_VALUE;