From 4b88923e19498db350a6fd27cae05e2be2c2e48a Mon Sep 17 00:00:00 2001 From: Daryn Sharp Date: Mon, 25 Jun 2012 15:28:09 +0000 Subject: [PATCH] HDFS-3550. Fix raid javadoc warnings. (Jason Lowe via daryn) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1353592 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/hadoop/raid/Decoder.java | 4 ++-- .../main/java/org/apache/hadoop/raid/DistRaidNode.java | 8 ++++---- .../src/main/java/org/apache/hadoop/raid/Encoder.java | 1 - .../apache/hadoop/raid/RaidConfigurationException.java | 2 +- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Decoder.java b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Decoder.java index c38885ce9d..65060085c6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Decoder.java +++ b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Decoder.java @@ -166,9 +166,9 @@ public void decodeFile( * * @param srcFs The filesystem containing the source file. * @param srcPath The damaged source file. - * @param parityPath The filesystem containing the parity file. This could be + * @param parityFs The filesystem containing the parity file. This could be * different from fs in case the parity file is part of a HAR archive. - * @param parityFile The parity file. + * @param parityPath The parity file. * @param blockSize The block size of the file. * @param blockOffset Known location of error in the source file. There could * be additional errors in the source file that are discovered during diff --git a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/DistRaidNode.java b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/DistRaidNode.java index d2219ae745..43be2a725d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/DistRaidNode.java +++ b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/DistRaidNode.java @@ -52,7 +52,7 @@ public DistRaidNode(Configuration conf) throws IOException { } /** - * {@inheritDocs} + * {@inheritDoc} */ @Override public void join() { @@ -65,7 +65,7 @@ public void join() { } /** - * {@inheritDocs} + * {@inheritDoc} */ @Override public void stop() { @@ -79,7 +79,7 @@ public void stop() { /** - * {@inheritDocs} + * {@inheritDoc} */ @Override void raidFiles(PolicyInfo info, List paths) throws IOException { @@ -95,7 +95,7 @@ void raidFiles(PolicyInfo info, List paths) throws IOException { } /** - * {@inheritDocs} + * {@inheritDoc} */ @Override int getRunningJobsForPolicy(String policyName) { diff --git a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Encoder.java b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Encoder.java index f74b3a025d..b87bad4f80 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Encoder.java +++ b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/Encoder.java @@ -331,7 +331,6 @@ protected InputStream[] stripeInputs( * The implementation of generating parity data for a stripe. * * @param blocks The streams to blocks in the stripe. - * @param srcFile The source file. * @param stripeStartOffset The start offset of the stripe * @param blockSize The maximum size of a block. * @param outs output streams to the parity blocks. diff --git a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/RaidConfigurationException.java b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/RaidConfigurationException.java index 7335999ada..891863ae92 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/RaidConfigurationException.java +++ b/hadoop-hdfs-project/hadoop-hdfs-raid/src/main/java/org/apache/hadoop/raid/RaidConfigurationException.java @@ -19,7 +19,7 @@ package org.apache.hadoop.raid; /** - * Thrown when the config file for {@link CronNode} is malformed. + * Thrown when the config file for {@link RaidNode} is malformed. */ public class RaidConfigurationException extends Exception { private static final long serialVersionUID = 4046516718965587999L; diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index fc632047c8..954b8ec1da 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -154,6 +154,8 @@ Trunk (unreleased changes) HDFS-3462. TestDFSClientRetries.busyTest() should restore default xceiver count in the config. (Madhukara Phatak via harsh) + HDFS-3550. Fix raid javadoc warnings. (Jason Lowe via daryn) + Branch-2 ( Unreleased changes ) INCOMPATIBLE CHANGES