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 "Runping Qi (JIRA)" <ji...@apache.org> on 2008/03/26 15:49:30 UTC
[jira] Created: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
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
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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------
Fix Version/s: 0.17.0
Assignee: Amareshwari Sriramadasu
Status: Patch Available (was: Open)
> 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
> 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------
Status: Patch Available (was: Open)
> 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, 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.
[jira] Commented: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584186#action_12584186 ]
Hadoop QA commented on HADOOP-3093:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12378920/patch-3093.txt
against trunk revision 643282.
@author +1. The patch does not contain any @author tags.
tests included -1. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
javadoc +1. The javadoc tool did not generate any warning messages.
javac +1. The applied patch does not generate any new javac compiler warnings.
release audit +1. The applied patch does not generate any new release audit warnings.
findbugs +1. The patch does not introduce any new Findbugs warnings.
core tests +1. The patch passed core unit tests.
contrib tests +1. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2111/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2111/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2111/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2111/console
This message is automatically generated.
> 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, 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.
[jira] Commented: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583549#action_12583549 ]
Hadoop QA commented on HADOOP-3093:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12378920/patch-3093.txt
against trunk revision 619744.
@author +1. The patch does not contain any @author tags.
tests included -1. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
patch -1. The patch command could not apply the patch.
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2099/console
This message is automatically generated.
> 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, 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj Das updated HADOOP-3093:
--------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Amareshwari!
> 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, 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------
Status: Patch Available (was: Open)
> 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, 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------
Status: Open (was: Patch Available)
Canceling the patch to address Enis's suggestion.
> 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.
[jira] Commented: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582968#action_12582968 ]
Tom White commented on HADOOP-3093:
-----------------------------------
+1
> 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.
[jira] Commented: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583105#action_12583105 ]
Hadoop QA commented on HADOOP-3093:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12378768/patch-3093.txt
against trunk revision 619744.
@author +1. The patch does not contain any @author tags.
tests included -1. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
javadoc +1. The javadoc tool did not generate any warning messages.
javac +1. The applied patch does not generate any new javac compiler warnings.
release audit +1. The applied patch does not generate any new release audit warnings.
findbugs +1. The patch does not introduce any new Findbugs warnings.
core tests +1. The patch passed core unit tests.
contrib tests +1. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2087/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2087/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2087/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2087/console
This message is automatically generated.
> 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------
Status: Open (was: Patch Available)
trying hudson again.
> 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, 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.
[jira] Commented: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------
Description:
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.
was:
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.
Release Note:
The following public APIs are added in org.apache.hadoop.conf.Configuration
String[] Configuration.getStrings(String name, String... defaultValue) and
void Configuration.setStrings(String name, String... values)
> 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, 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ 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 adding
1. String[] Configuration.getStrings(String name, String... defaultValue)
2. void Configuration.setStrings(String name, String... values)
> 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, 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3093:
--------------------------------------------
Description:
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.
was:
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.
Affects Version/s: 0.17.0
> 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.
[jira] Commented: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582956#action_12582956 ]
Devaraj Das commented on HADOOP-3093:
-------------------------------------
+1
> 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.
[jira] Updated: (HADOOP-3093) ma/reduce throws the following
exception if "io.serializations" is not set:
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ 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.