[ https://issues.apache.org/jira/browse/MAPREDUCE-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14536871#comment-14536871 ]
Hadoop QA commented on MAPREDUCE-5748: -------------------------------------- \\ \\ | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 14m 37s | Pre-patch trunk compilation is healthy. | | {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 | 7m 31s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 9m 31s | There were no new javadoc warning messages. | | {color:green}+1{color} | release audit | 0m 22s | The applied patch does not increase the total number of release audit warnings. | | {color:green}+1{color} | checkstyle | 0m 20s | 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 37s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 33s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 0m 36s | The patch does not introduce any new Findbugs (version 2.0.3) warnings. | | {color:green}+1{color} | mapreduce tests | 0m 19s | Tests passed in hadoop-mapreduce-client-shuffle. | | | | 35m 30s | | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12731742/MAPREDUCE-5748.03.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / df36ad0 | | hadoop-mapreduce-client-shuffle test log | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5697/artifact/patchprocess/testrun_hadoop-mapreduce-client-shuffle.txt | | Test Results | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5697/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf905.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/5697/console | This message was automatically generated. > Potential null pointer deference in ShuffleHandler#Shuffle#messageReceived() > ---------------------------------------------------------------------------- > > Key: MAPREDUCE-5748 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5748 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 2.7.0 > Reporter: Ted Yu > Assignee: Varun Saxena > Priority: Minor > Labels: BB2015-05-RFC > Attachments: > 0001-MAPREDUCE-5748-Potential-null-pointer-deference-in-S.patch, > MAPREDUCE-5748.02.patch, MAPREDUCE-5748.03.patch > > > Starting around line 510: > {code} > ChannelFuture lastMap = null; > for (String mapId : mapIds) { > ... > } > lastMap.addListener(metrics); > lastMap.addListener(ChannelFutureListener.CLOSE); > {code} > If mapIds is empty, lastMap would remain null, leading to NPE in > addListener() call. -- This message was sent by Atlassian JIRA (v6.3.4#6332)