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

Hadoop QA commented on MAPREDUCE-5728:
--------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  
http://issues.apache.org/jira/secure/attachment/12623830/MAPREDUCE-5728-trunk.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4327//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4327//console

This message is automatically generated.

> Guide NPE for serializer/deserializer in MapTask
> ------------------------------------------------
>
>                 Key: MAPREDUCE-5728
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5728
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.2.0
>            Reporter: Jerry He
>            Assignee: Jerry He
>            Priority: Minor
>             Fix For: 2.3.0, 2.2.1
>
>         Attachments: MAPREDUCE-5728-trunk.patch
>
>
> Currently we will get NPE if the serializer/deserializer is not configured 
> correctly.
> {code}
> 14/01/14 11:52:35 INFO mapred.JobClient: Task Id : 
> attempt_201401072154_0027_m_000002_2, Status : FAILED
> java.lang.NullPointerException
>         at 
> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:944)
>         at 
> org.apache.hadoop.mapred.MapTask$NewOutputCollector.<init>(MapTask.java:672)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:740)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:368)
>         at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
>         at 
> java.security.AccessController.doPrivileged(AccessController.java:362)
>         at javax.security.auth.Subject.doAs(Subject.java:573)
>         at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1502)
>         at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> serializationFactory.getSerializer and serializationFactory.getDeserializer 
> returns NULL in this case.
> Let's guide NPE for serializer/deserializer in MapTask so that we don't get 
> meaningless NPE.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to