TEZ-4261. Fix Javadoc warnings
Signed-off-by: Jonathan Eagles <jeagles@apache.org>
diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/DeprecatedKeys.java b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/DeprecatedKeys.java
index b8d491a..098057b 100644
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/DeprecatedKeys.java
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/DeprecatedKeys.java
@@ -22,7 +22,6 @@
import java.util.HashMap;
import java.util.Map;
-import org.apache.hadoop.conf.Configuration;
import org.apache.tez.dag.api.TezConfiguration;
import org.apache.tez.dag.library.vertexmanager.ShuffleVertexManager;
import org.apache.tez.runtime.library.api.TezRuntimeConfiguration;
@@ -184,11 +183,6 @@
String tezKey) {
mrParamToTezRuntimeParamMap.put(mrKey, tezKey);
}
-
- @SuppressWarnings("unused")
- private static void _(String mrKey, String tezKey) {
- Configuration.addDeprecation(mrKey, tezKey);
- }
public static Map<String, String> getMRToDAGParamMap() {
return Collections.unmodifiableMap(mrParamToDAGParamMap);
diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRInputHelpers.java b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRInputHelpers.java
index 9c42cda..19d64a5 100644
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRInputHelpers.java
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/MRInputHelpers.java
@@ -782,7 +782,7 @@
}
/**
- * @see {@link InputContext#getDagIdentifier}
+ * @see InputContext#getDagIdentifier()
* @param conf configuration instance
* @return dag index
*/
@@ -802,7 +802,7 @@
}
/**
- * * @see {@link InputContext#getTaskVertexIndex}
+ * @see InputContext#getTaskVertexIndex
* @param conf configuration instance
* @return vertex index
*/
@@ -822,7 +822,7 @@
}
/**
- * @see {@link InputContext#getTaskIndex}
+ * @see InputContext#getTaskIndex
* @param conf configuration instance
* @return task index
*/
@@ -842,7 +842,7 @@
}
/**
- * @see {@link InputContext#getTaskAttemptNumber}
+ * @see InputContext#getTaskAttemptNumber
* @param conf configuration instance
* @return task attempt index
*/
@@ -862,7 +862,7 @@
}
/**
- * @see {@link InputContext#getInputIndex}
+ * @see InputContext#getInputIndex
* @param conf configuration instance
* @return input index
*/
@@ -872,7 +872,7 @@
}
/**
- * @see {@link InputContext#getDAGName}
+ * @see InputContext#getDAGName
* @param conf configuration instance
* @return dag name
*/
@@ -882,7 +882,7 @@
}
/**
- * @see {@link InputContext#getTaskVertexName}
+ * @see InputContext#getTaskVertexName
* @param conf configuration instance
* @return vertex name
*/
@@ -892,7 +892,7 @@
}
/**
- * @see {@link InputContext#getSourceVertexName}
+ * @see InputContext#getSourceVertexName
* @param conf configuration instance
* @return source name
*/
@@ -902,7 +902,7 @@
}
/**
- * @see {@link InputContext#getApplicationId}
+ * @see InputContext#getApplicationId
* @param conf configuration instance
* @return applicationId as a string
*/
@@ -912,7 +912,7 @@
}
/**
- * @see {@link InputContext#getUniqueIdentifier}
+ * @see InputContext#getUniqueIdentifier
* @param conf configuration instance
* @return unique identifier for the input
*/
@@ -922,7 +922,7 @@
}
/**
- * @see {@link InputContext#getDAGAttemptNumber}
+ * @see InputContext#getDAGAttemptNumber
* @param conf configuration instance
* @return attempt number
*/