From 7be28083472ee83d396a075c99ce5c59d29ec3f6 Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Thu, 21 Aug 2014 23:58:25 +0000 Subject: [PATCH] HADOOP-8896. Javadoc points to Wrong Reader and Writer classes in SequenceFile (Ray Chiang via aw) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1619632 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/io/SequenceFile.java | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index c880e1167dd..655df79264c 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -507,6 +507,9 @@ Release 2.6.0 - UNRELEASED HADOOP-10698. KMS, add proxyuser support. (tucu) + HADOOP-8896. Javadoc points to Wrong Reader and Writer classes + in SequenceFile (Ray Chiang via aw) + OPTIMIZATIONS HADOOP-10838. Byte array native checksumming. (James Thomas via todd) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java index 0c5f31534ad..4cda1077482 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java @@ -53,8 +53,9 @@ import org.apache.hadoop.util.Time; * SequenceFiles are flat files consisting of binary key/value * pairs. * - *

SequenceFile provides {@link Writer}, {@link Reader} and - * {@link Sorter} classes for writing, reading and sorting respectively.

+ *

SequenceFile provides {@link SequenceFile.Writer}, + * {@link SequenceFile.Reader} and {@link Sorter} classes for writing, + * reading and sorting respectively.

* * There are three SequenceFile Writers based on the * {@link CompressionType} used to compress key/value pairs: @@ -79,8 +80,8 @@ import org.apache.hadoop.util.Time; *

The recommended way is to use the static createWriter methods * provided by the SequenceFile to chose the preferred format.

* - *

The {@link Reader} acts as the bridge and can read any of the above - * SequenceFile formats.

+ *

The {@link SequenceFile.Reader} acts as the bridge and can read any of the + * above SequenceFile formats.

* *

SequenceFile Formats

*