hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5815) Fix NPE in TestMRAppMaster
Date Fri, 04 Apr 2014 07:25:16 GMT

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

Akira AJISAKA commented on MAPREDUCE-5815:
------------------------------------------

I agree with you that TestMRAppMaster should set a proper queue name.
bq. I think it would be a good idea to have the null check and throw an appropriate exception.
I suggest to handle null name as "NA" by using {{getNonEmptyString}}. The method is already
used for user name and job name.

> Fix NPE in TestMRAppMaster
> --------------------------
>
>                 Key: MAPREDUCE-5815
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5815
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client, mrv2
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>            Priority: Blocker
>         Attachments: MAPREDUCE-5815.v01.patch
>
>
> Working MAPREDUCE-5813 I stumbled on NPE's in TestMRAppMaster. They seem to be introduced
by MAPREDUCE-5805.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message