hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6483) Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri() in TestMRCredentials
Date Fri, 18 Sep 2015 23:10:05 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876659#comment-14876659
] 

Hudson commented on MAPREDUCE-6483:
-----------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #421 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/421/])
MAPREDUCE-6483. Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri()
in TestMRCredentials. Contributed by Mingliang Liu. (wheat9: rev 602335dfe61a08be02ffa5a9c5b6c3f148926a7d)
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/TestMRCredentials.java
* hadoop-mapreduce-project/CHANGES.txt


> Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri() in TestMRCredentials
> ----------------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 2.8.0
>
>         Attachments: MAPREDUCE-6483.000.patch, MAPREDUCE-6483.001.patch
>
>
> 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] {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