You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2008/03/28 07:18:24 UTC

[jira] Updated: (HADOOP-3093) ma/reduce throws the following exception if "io.serializations" is not set:

     [ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------

    Attachment: patch-3093.txt

Here is a patch fixing the Null pointer exception.
I added a new api  getStrings(String name, String[] defaultValue) in Configuration.java, which returns default value if nothing specified for the configuration property.

> ma/reduce throws the following exception if "io.serializations" is not set:
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-3093
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3093
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Runping Qi
>         Attachments: patch-3093.txt
>
>
> map/reduce throws the following exception if "io.serializations" is not set:
> java.lang.NullPointerException
>         at org.apache.hadoop.io.serializer.SerializationFactory.<init>(SerializationFactory.java:52)
>         at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:325)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:177)
>         at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2073)
> Map/reduce should use org.apache.hadoop.io.serializer.WritableSerialization as the default class as it had in the past.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.