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 caa3452c1d..0160b0e5b7 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 metName of the RPC call + * @param name of the RPC call * @param processingTime the processing time */ //@Override // some instrumentation interface diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 6e8481eb85..83fd7df4d2 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -2037,6 +2037,16 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + + --add-exports + java.naming/com.sun.jndi.ldap=ALL-UNNAMED + + +