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

Hadoop QA commented on MAPREDUCE-5747:
--------------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply 
the patch during dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12764628/MAPREDUCE-5747-6.patch 
|
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 195793c |
| Console output | 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6047/console |


This message was automatically generated.

> Potential null pointer deference in HsTasksBlock#render()
> ---------------------------------------------------------
>
>                 Key: MAPREDUCE-5747
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5747
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>              Labels: BB2015-05-TBR, newbie, patch
>         Attachments: MAPREDUCE-5747-1.patch, MAPREDUCE-5747-2.patch, 
> MAPREDUCE-5747-3.patch, MAPREDUCE-5747-4.patch, MAPREDUCE-5747-5.patch, 
> MAPREDUCE-5747-6.patch
>
>
> At line 140:
> {code}
>         } else {
>           ta = new TaskAttemptInfo(successful, type, false);
> {code}
> There is no check for type against null.
> TaskAttemptInfo ctor deferences type:
> {code}
>   public TaskAttemptInfo(TaskAttempt ta, TaskType type, Boolean isRunning) {
>     final TaskAttemptReport report = ta.getReport();
>     this.type = type.toString();
> {code}



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

Reply via email to