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:
parent
3085732384
commit
5c170d84ec
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue