[
https://issues.apache.org/jira/browse/HADOOP-14459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026488#comment-16026488
]
Daniel Templeton commented on HADOOP-14459:
-------------------------------------------
Thanks for the patch, [~nkollar]. Looks to me like that conditional should
also be handling the case where {{conf.get()}} returns null. In that case you
should get a warning. The easiest thing to do may be to pass {{""}} as the
default to the {{conf.get()}} call.
> SerializationFactory shouldn't throw a NullPointerException if the
> serializations list is not defined
> -----------------------------------------------------------------------------------------------------
>
> Key: HADOOP-14459
> URL: https://issues.apache.org/jira/browse/HADOOP-14459
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Nandor Kollar
> Assignee: Nandor Kollar
> Priority: Minor
> Attachments: HADOOP-14459.patch
>
>
> The SerializationFactory throws an NPE if
> CommonConfigurationKeys.IO_SERIALIZATIONS_KEY is not defined in the config.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]