Browse Source

HADOOP-15941. Addendum patch. Contributed by Takanobu Asanuma.

Akira Ajisaka 6 years ago
parent
commit
01405df87f

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcDetailedMetrics.java

@@ -66,7 +66,7 @@ public class RpcDetailedMetrics {
 
   /**
    * 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

+ 10 - 0
hadoop-project/pom.xml

@@ -2037,6 +2037,16 @@
               </additionalOptions>
             </configuration>
           </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+              <compilerArgs combine.children="append">
+                <arg>--add-exports</arg>
+                <arg>java.naming/com.sun.jndi.ldap=ALL-UNNAMED</arg>
+              </compilerArgs>
+            </configuration>
+          </plugin>
         </plugins>
       </build>
     </profile>