From 709ddb10e5d98ae28e371fd182c893635f430e35 Mon Sep 17 00:00:00 2001 From: Takanobu Asanuma Date: Wed, 9 Jan 2019 13:55:25 +0900 Subject: [PATCH] HADOOP-15941. [JDK 11] Compilation failure: package com.sun.jndi.ldap is not visible. --- .../org/apache/hadoop/ipc/metrics/RpcDetailedMetrics.java | 2 +- .../java/org/apache/hadoop/log/LogThrottlingHelper.java | 2 +- hadoop-project/pom.xml | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcDetailedMetrics.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcDetailedMetrics.java index 9be9c5addd..99a0afd7b4 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcDetailedMetrics.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcDetailedMetrics.java @@ -66,7 +66,7 @@ public void init(Class protocol) { /** * Add an RPC processing time sample - * @param name of the RPC call + * @param metName of the RPC call * @param processingTime the processing time */ //@Override // some instrumentation interface diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/log/LogThrottlingHelper.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/log/LogThrottlingHelper.java index cde180bd1e..eb147ca47e 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/log/LogThrottlingHelper.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/log/LogThrottlingHelper.java @@ -293,7 +293,7 @@ public SummaryStatistics getCurrentStats(String recorderName, int idx) { * suppressed in the provided log action. If no statements were suppressed, * this returns an empty string. The message has the format (without quotes): * - *

' (suppressed logging {suppression_count} times)' + *

' (suppressed logging {suppression_count} times)'

* * @param action The log action to produce a message about. * @return A message about suppression within this action. diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index cbc12c3c5a..05a35bd7c0 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -2014,8 +2014,7 @@ - - javadoc-html-version + jdk11 [11,) @@ -2026,7 +2025,10 @@ maven-javadoc-plugin + -html4 + --add-exports + java.naming/com.sun.jndi.ldap=ALL-UNNAMED