hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3093) ma/reduce throws the following exception if "io.serializations" is not set:
Date Fri, 28 Mar 2008 10:18:27 GMT

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

Enis Soztutar commented on HADOOP-3093:
---------------------------------------

Just a small hit, 

lets change 
{code}
public String[] getStrings(String name, String... defaultValue) {
}
{code}

so that both 
{code}
conf.getStrings(key, new String[] {"foo.bar", "foo.baz"}); 
{code}
and 
{code}
conf.getStrings(key, "foo.bar", "foo.baz"); 
{code}
works. 

Moreover since we are at it, introducing a setStrings() might be a good idea (the patch for
HADOOP-449 needs it). 



> 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
>    Affects Versions: 0.17.0
>            Reporter: Runping Qi
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 0.17.0
>
>         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.


Mime
View raw message