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

Hudson commented on HADOOP-8588:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2779 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2779/])
    HADOOP-8588. SerializationFactory shouldn't throw a NullPointerException if 
the serializations list is empty. Contributed by Sho Shimauchi. (harsh) 
(Revision 1389002)

     Result = FAILURE
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1389002
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/serializer/SerializationFactory.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/serializer/TestSerializationFactory.java

                
> SerializationFactory shouldn't throw a NullPointerException if the 
> serializations list is empty
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8588
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8588
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Sho Shimauchi
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8588.txt, HADOOP-8588.txt, HADOOP-8588.txt
>
>
> The SerializationFactory throws an NPE if 
> CommonConfigurationKeys.IO_SERIALIZATIONS_KEY is set to an empty list in the 
> config.
> It should rather print a WARN log indicating the serializations list is 
> empty, and start up without any valid serialization classes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to