This is an automated email from the ASF dual-hosted git repository.
jeagles pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 2c03ea8 TEZ-4261. Fix Javadoc warnings
2c03ea8 is described below
commit 2c03ea8cb4e47cf648f617102541ef4de44b6a8d
Author: Lewis John McGibbney <[email protected]>
AuthorDate: Fri Jan 15 16:08:49 2021 -0600
TEZ-4261. Fix Javadoc warnings
Signed-off-by: Jonathan Eagles <[email protected]>
(cherry picked from commit fb81c11583ea7c31978e2417e0e31f4a141dd7a7)
---
.../tez/mapreduce/hadoop/DeprecatedKeys.java | 6 ------
.../tez/mapreduce/hadoop/MRInputHelpers.java | 22 +++++++++++-----------
2 files changed, 11 insertions(+), 17 deletions(-)
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.Collections;
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 @@ public class DeprecatedKeys {
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 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getDagIdentifier}
+ * @see InputContext#getDagIdentifier()
* @param conf configuration instance
* @return dag index
*/
@@ -802,7 +802,7 @@ public class MRInputHelpers {
}
/**
- * * @see {@link InputContext#getTaskVertexIndex}
+ * @see InputContext#getTaskVertexIndex
* @param conf configuration instance
* @return vertex index
*/
@@ -822,7 +822,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getTaskIndex}
+ * @see InputContext#getTaskIndex
* @param conf configuration instance
* @return task index
*/
@@ -842,7 +842,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getTaskAttemptNumber}
+ * @see InputContext#getTaskAttemptNumber
* @param conf configuration instance
* @return task attempt index
*/
@@ -862,7 +862,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getInputIndex}
+ * @see InputContext#getInputIndex
* @param conf configuration instance
* @return input index
*/
@@ -872,7 +872,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getDAGName}
+ * @see InputContext#getDAGName
* @param conf configuration instance
* @return dag name
*/
@@ -882,7 +882,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getTaskVertexName}
+ * @see InputContext#getTaskVertexName
* @param conf configuration instance
* @return vertex name
*/
@@ -892,7 +892,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getSourceVertexName}
+ * @see InputContext#getSourceVertexName
* @param conf configuration instance
* @return source name
*/
@@ -902,7 +902,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getApplicationId}
+ * @see InputContext#getApplicationId
* @param conf configuration instance
* @return applicationId as a string
*/
@@ -912,7 +912,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getUniqueIdentifier}
+ * @see InputContext#getUniqueIdentifier
* @param conf configuration instance
* @return unique identifier for the input
*/
@@ -922,7 +922,7 @@ public class MRInputHelpers {
}
/**
- * @see {@link InputContext#getDAGAttemptNumber}
+ * @see InputContext#getDAGAttemptNumber
* @param conf configuration instance
* @return attempt number
*/