hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6483) Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri()
Date Thu, 17 Sep 2015 17:57:04 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mingliang Liu updated MAPREDUCE-6483:
-------------------------------------
    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}}. As this is the last usage of the deprecated static method {{NameNode.getUri()}},
we also remove it from code trunk. 

This patch will remove the newly brought javac warning in [HDFS-9022] {quote}TestMRCredentials.java:
getUri(InetSocketAddress) in NameNode has been deprecated. {quote}

  was:
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}}. As this is the last usage of the deprecated static method {{NameNode.getUri()}},
we also remove it from code trunk.


> Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri()
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6483
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6483
>             Project: Hadoop Map/Reduce
>          Issue Type: Task
>          Components: test
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>
> 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}}. As this is the last usage of the deprecated static method {{NameNode.getUri()}},
we also remove it from code trunk. 
> This patch will remove the newly brought javac warning in [HDFS-9022] {quote}TestMRCredentials.java:
getUri(InetSocketAddress) in NameNode has been deprecated. {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message