Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Test TestMRCredentials uses the NameNode.getUri() method which is deprecated in HDFS-9022. We should use DFSUtilClient.getNNUri() instead to get the name node URI given NN address. To make the Jenkins pass unit tests, jira HDFS-9022 focuses on changes in hadoop-hdfs module.
This jira tracks the effort of replacing usage of NameNode.getUri() with DFSUtilClient.getNNUri() in TestMRCredentials.
This patch will remove the newly brought javac warning in HDFS-9022
TestMRCredentials.java: getUri(InetSocketAddress) in NameNode has been deprecated.