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 "Jim Kellerman (JIRA)" <ji...@apache.org> on 2007/08/24 02:32:30 UTC
[jira] Created: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
MapWritable and SortedMapWritable - Writable problems
-----------------------------------------------------
Key: HADOOP-1775
URL: https://issues.apache.org/jira/browse/HADOOP-1775
Project: Hadoop
Issue Type: Bug
Components: io
Affects Versions: 0.15.0
Reporter: Jim Kellerman
Assignee: Jim Kellerman
Fix For: 0.15.0
When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
- in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
java.lang.IllegalArgumentException: Class <not predefined class name> already registered
- readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HADOOP-1775:
----------------------------------
Description:
When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
- in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
java.lang.IllegalArgumentException: Class <not predefined class name> already registered
- readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
was:
When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
- in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
java.lang.IllegalArgumentException: Class <not predefined class name> already registered
- readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class.
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HADOOP-1775:
----------------------------------
Status: Patch Available (was: Open)
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt, patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated HADOOP-1775:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Jim!
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt, patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522626 ]
Doug Cutting commented on HADOOP-1775:
--------------------------------------
I assume the Thread.dumpStack() in MapWritable.clear() is unintentional?
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522376 ]
Hadoop QA commented on HADOOP-1775:
-----------------------------------
+1
http://issues.apache.org/jira/secure/attachment/12364474/patch.txt applied and successfully tested against trunk revision r569063.
Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/609/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/609/console
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HADOOP-1775:
----------------------------------
Status: Open (was: Patch Available)
Yes, the Thread.dumpStack() was in there when I was debugging. Sorry. I thought I had gotten all that stuff out. I'll recreate the patch.
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HADOOP-1775:
----------------------------------
Attachment: patch.txt
Removed Thread.dumpStack() inadvertantly left in from debugging.
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt, patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HADOOP-1775:
----------------------------------
Attachment: patch.txt
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HADOOP-1775:
----------------------------------
Status: Patch Available (was: Open)
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1775) MapWritable and SortedMapWritable -
Writable problems
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522655 ]
Hadoop QA commented on HADOOP-1775:
-----------------------------------
+1
http://issues.apache.org/jira/secure/attachment/12364539/patch.txt applied and successfully tested against trunk revision r569501.
Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/615/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/615/console
> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
> Key: HADOOP-1775
> URL: https://issues.apache.org/jira/browse/HADOOP-1775
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.15.0
>
> Attachments: patch.txt, patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined" classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a copy of a copy that had entries of non-predefined classes would fail because the second copy would not receive the mapping from id to class and a NullPointerException would be thrown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.