You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/09/18 02:30:04 UTC

[jira] [Commented] (MAPREDUCE-6483) Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri() in TestMRCredentials

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

Hadoop QA commented on MAPREDUCE-6483:
--------------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | pre-patch |  16m 44s | Findbugs (version 3.0.0) appears to be broken on trunk. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any @author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to include 1 new or modified test files. |
| {color:green}+1{color} | javac |   8m  2s | There were no new javac warning messages. |
| {color:green}+1{color} | javadoc |  10m 22s | There were no new javadoc warning messages. |
| {color:green}+1{color} | release audit |   0m 25s | The applied patch does not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   1m  6s | There were no new checkstyle issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that end in whitespace. |
| {color:green}+1{color} | install |   1m 40s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 33s | The patch built with eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   3m 25s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. |
| {color:green}+1{color} | native |   3m 25s | Pre-build of native portion |
| {color:red}-1{color} | mapreduce tests |  62m 33s | Tests failed in hadoop-mapreduce-client-jobclient. |
| {color:red}-1{color} | hdfs tests |   0m 26s | Tests failed in hadoop-hdfs. |
| | | 108m 44s | |
\\
\\
|| Reason || Tests ||
| Failed unit tests | hadoop.mapreduce.TestMRJobClient |
|   | hadoop.mapreduce.lib.output.TestJobOutputCommitter |
|   | hadoop.conf.TestNoDefaultsJobConf |
|   | hadoop.mapreduce.v2.TestNonExistentJob |
|   | hadoop.mapreduce.lib.join.TestJoinProperties |
|   | hadoop.mapred.TestReduceFetch |
|   | hadoop.mapred.TestLazyOutput |
|   | hadoop.mapred.lib.TestDelegatingInputFormat |
|   | hadoop.fs.TestDFSIO |
|   | hadoop.mapred.TestJobName |
|   | hadoop.mapred.TestMiniMRWithDFSWithDistinctUsers |
|   | hadoop.mapreduce.security.TestBinaryTokenFile |
|   | hadoop.mapreduce.security.TestMRCredentials |
|   | hadoop.mapreduce.v2.TestUberAM |
|   | hadoop.mapreduce.lib.join.TestJoinDatamerge |
|   | hadoop.mapreduce.v2.TestMRJobs |
|   | hadoop.mapred.TestMiniMRClasspath |
|   | hadoop.mapred.TestMerge |
|   | hadoop.mapred.TestMRTimelineEventHandling |
|   | hadoop.mapred.TestSpecialCharactersInOutputPath |
|   | hadoop.mapred.TestMRCJCFileInputFormat |
|   | hadoop.mapred.TestJobSysDirWithDFS |
|   | hadoop.mapreduce.lib.input.TestCombineFileInputFormat |
|   | hadoop.mapreduce.security.ssl.TestEncryptedShuffle |
|   | hadoop.mapred.TestMRIntermediateDataEncryption |
|   | hadoop.mapreduce.TestMapReduceLazyOutput |
|   | hadoop.mapreduce.v2.TestMiniMRProxyUser |
|   | hadoop.mapred.TestClusterMRNotification |
|   | hadoop.mapred.TestNetworkedJob |
|   | hadoop.mapreduce.lib.input.TestDelegatingInputFormat |
| Failed build | hadoop-hdfs |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12757166/MAPREDUCE-6483.000.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / ee4ee6a |
| hadoop-mapreduce-client-jobclient test log | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6001/artifact/patchprocess/testrun_hadoop-mapreduce-client-jobclient.txt |
| hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6001/artifact/patchprocess/testrun_hadoop-hdfs.txt |
| Test Results | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6001/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf908.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6001/console |


This message was automatically generated.

> 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
>         Attachments: MAPREDUCE-6483.000.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}}. 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)