You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Nandor Kollar (JIRA)" <ji...@apache.org> on 2017/09/21 12:18:00 UTC

[jira] [Commented] (HADOOP-14459) SerializationFactory shouldn't throw a NullPointerException if the serializations list is not defined

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

Nandor Kollar commented on HADOOP-14459:
----------------------------------------

[~templedf] looks like if were using getTrimmedStrings like in HADOOP-11512, we wouldn't get the NPE which HADOOP-8588 intend to solve. How about just simply replacing getStrings to getTrimmedStrings? I think it would solve both this NPE and NPE in HADOOP-8588. Attached HADOOP-14459_3.patch, could you please review?

> 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_2.patch, HADOOP-14459_3.patch, 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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org