hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-8588) SerializationFactory shouldn't throw a NullPointerException if the serializations list is empty
Date Wed, 11 Jul 2012 14:28:36 GMT
Harsh J created HADOOP-8588:
-------------------------------

             Summary: 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
            Priority: Minor


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message