瀏覽代碼

HADOOP-7232. Fix Javadoc warnings. (omalley)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-203@1096071 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley 14 年之前
父節點
當前提交
cb60da7cfe

+ 2 - 0
CHANGES.txt

@@ -60,6 +60,8 @@ Release 0.20.203.0 - unreleased
     HDFS-1842. Change the layout version to -31 to disallow upgrade from
     and to 0.21 release. (suresh)
 
+    HADOOP-7232. Fix Javadoc warnings. (omalley)
+
 Release 0.20.202.0 - unreleased
 
     MAPREDUCE-2355. Add a configuration knob 

+ 1 - 1
src/core/org/apache/hadoop/metrics/util/MetricsIntValue.java

@@ -30,7 +30,7 @@ import org.apache.commons.logging.LogFactory;
  * Each time its value is set, it is published only *once* at the next update
  * call.
  *
- * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MutableGaugeInt}.
+ * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MetricMutableGaugeInt}.
  */
 @Deprecated
 @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})

+ 1 - 1
src/core/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java

@@ -34,7 +34,7 @@ import org.apache.commons.logging.LogFactory;
  * Note if one wants a time associated with the metric then use
  * @see org.apache.hadoop.metrics.util.MetricsTimeVaryingRate
  *
- * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MutableCounterInt}.
+ * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MetricMutableCounterInt}.
  */
 @Deprecated
 @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})

+ 1 - 1
src/core/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java

@@ -35,7 +35,7 @@ import org.apache.commons.logging.LogFactory;
  * Note if one wants a time associated with the metric then use
  * @see org.apache.hadoop.metrics.util.MetricsTimeVaryingRate
  *
- * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MutableCounterLong}.
+ * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MetricMutableCounterLong}.
  */
 @Deprecated
 @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})

+ 1 - 1
src/core/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java

@@ -32,7 +32,7 @@ import org.apache.commons.logging.LogFactory;
  * This class also keeps track of the min and max rates along with 
  * a method to reset the min-max.
  *
- * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MutableRate}.
+ * @deprecated in favor of {@link org.apache.hadoop.metrics2.lib.MetricMutableGauge}.
  */
 @Deprecated
 @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})

+ 1 - 1
src/mapred/org/apache/hadoop/mapred/TaskLogsTruncater.java

@@ -82,7 +82,7 @@ public class TaskLogsTruncater {
    * Check the log file sizes generated by the attempts that ran in a
    * particular JVM
    * @param lInfo
-   * @return
+   * @return is truncation required?
    * @throws IOException
    */
   public boolean shouldTruncateLogs(JVMInfo lInfo) throws IOException {