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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1169925 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Konstantin Shvachko 2011-09-12 21:04:51 +00:00
parent 1c01951264
commit 8332126c52
2 changed files with 3 additions and 1 deletions

View File

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

View File

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