Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6483

Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri() in TestMRCredentials

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • test
    • 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.

      Attachments

        1. MAPREDUCE-6483.000.patch
          2 kB
          Mingliang Liu
        2. MAPREDUCE-6483.001.patch
          1 kB
          Mingliang Liu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            liuml07 Mingliang Liu
            liuml07 Mingliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment