[
https://issues.apache.org/jira/browse/HADOOP-8588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sho Shimauchi updated HADOOP-8588:
----------------------------------
Attachment: HADOOP-8588.txt
Thanks Harsh!
I updated the patch.
{quote}
-1 core tests. The patch failed these unit tests in
hadoop-common-project/hadoop-common:
org.apache.hadoop.ha.TestZKFailoverController
{quote}
This test timed out but it seems nothing to do with my patch.
> 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
> Attachments: 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