Skip to content

Commit f73778a

Browse files
committed
HADOOP-19040. mvn site commands fails due to MetricsSystem And MetricsSystemImpl changes.
1 parent 0f8b74b commit f73778a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hadoop-common-project/hadoop-common/dev-support/jdiff-workaround.patch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ index a277abd6e13..1d131d5db6e 100644
1414
- * the annotations of the source object.)
1515
- * @param desc the description of the source (or null. See above.)
1616
- * @return the source object
17-
- * @exception MetricsException
17+
- * @exception MetricsException Metrics Exception.
1818
- */
1919
- public abstract <T> T register(String name, String desc, T source);
2020
-
@@ -38,7 +38,7 @@ index a277abd6e13..1d131d5db6e 100644
3838
+ * the annotations of the source object.)
3939
+ * @param desc the description of the source (or null. See above.)
4040
+ * @return the source object
41-
* @exception MetricsException
41+
* @exception MetricsException Metrics Exception.
4242
*/
4343
- public abstract <T extends MetricsSink>
4444
- T register(String name, String desc, T sink);
@@ -65,7 +65,6 @@ index a6edf08e5a7..5b87be1ec67 100644
6565
- }
6666
- return sink;
6767
- }
68-
- allSinks.put(name, sink);
6968
- if (config != null) {
7069
- registerSink(name, description, sink);
7170
- }

0 commit comments

Comments
 (0)