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 "Espen Amble Kolstad (JIRA)" <ji...@apache.org> on 2007/07/10 12:41:04 UTC
[jira] Created: (HADOOP-1584) Bug in readFields of GenericWritable
Bug in readFields of GenericWritable
------------------------------------
Key: HADOOP-1584
URL: https://issues.apache.org/jira/browse/HADOOP-1584
Project: Hadoop
Issue Type: Bug
Components: io
Affects Versions: 0.13.0, 0.12.3, 0.14.0
Reporter: Espen Amble Kolstad
Priority: Minor
When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.
{code}
public void readFields(DataInput in) throws IOException {
type = in.readByte();
Class clazz = getTypes()[type];
...
}
{code}
{code}
public void readFields(DataInput in) throws IOException {
type = in.readByte();
Class clazz = getTypes()[type & 0xff];
...
}
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1584) Bug in readFields of
GenericWritable
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512055 ]
Hudson commented on HADOOP-1584:
--------------------------------
Integrated in Hadoop-Nightly #152 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/])
> Bug in readFields of GenericWritable
> ------------------------------------
>
> Key: HADOOP-1584
> URL: https://issues.apache.org/jira/browse/HADOOP-1584
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.12.3, 0.13.0, 0.14.0
> Reporter: Espen Amble Kolstad
> Assignee: Espen Amble Kolstad
> Priority: Minor
> Fix For: 0.14.0
>
> Attachments: GenericWritable.patch
>
>
> When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type];
> ...
> }
> {code}
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type & 0xff];
> ...
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1584) Bug in readFields of GenericWritable
Posted by "Espen Amble Kolstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Espen Amble Kolstad updated HADOOP-1584:
----------------------------------------
Attachment: GenericWritable.patch
Patch for trunk
> Bug in readFields of GenericWritable
> ------------------------------------
>
> Key: HADOOP-1584
> URL: https://issues.apache.org/jira/browse/HADOOP-1584
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.12.3, 0.13.0, 0.14.0
> Reporter: Espen Amble Kolstad
> Priority: Minor
> Attachments: GenericWritable.patch
>
>
> When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type];
> ...
> }
> {code}
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type & 0xff];
> ...
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1584) Bug in readFields of
GenericWritable
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511392 ]
Hadoop QA commented on HADOOP-1584:
-----------------------------------
+1
http://issues.apache.org/jira/secure/attachment/12361477/GenericWritable.patch applied and successfully tested against trunk revision r554811.
Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/385/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/385/console
> Bug in readFields of GenericWritable
> ------------------------------------
>
> Key: HADOOP-1584
> URL: https://issues.apache.org/jira/browse/HADOOP-1584
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.12.3, 0.13.0, 0.14.0
> Reporter: Espen Amble Kolstad
> Priority: Minor
> Attachments: GenericWritable.patch
>
>
> When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type];
> ...
> }
> {code}
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type & 0xff];
> ...
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1584) Bug in readFields of GenericWritable
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated HADOOP-1584:
---------------------------------
Resolution: Fixed
Fix Version/s: 0.14.0
Assignee: Espen Amble Kolstad
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Espen!
> Bug in readFields of GenericWritable
> ------------------------------------
>
> Key: HADOOP-1584
> URL: https://issues.apache.org/jira/browse/HADOOP-1584
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.12.3, 0.13.0, 0.14.0
> Reporter: Espen Amble Kolstad
> Assignee: Espen Amble Kolstad
> Priority: Minor
> Fix For: 0.14.0
>
> Attachments: GenericWritable.patch
>
>
> When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type];
> ...
> }
> {code}
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type & 0xff];
> ...
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1584) Bug in readFields of GenericWritable
Posted by "Espen Amble Kolstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Espen Amble Kolstad updated HADOOP-1584:
----------------------------------------
Status: Patch Available (was: Open)
> Bug in readFields of GenericWritable
> ------------------------------------
>
> Key: HADOOP-1584
> URL: https://issues.apache.org/jira/browse/HADOOP-1584
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.13.0, 0.12.3, 0.14.0
> Reporter: Espen Amble Kolstad
> Priority: Minor
> Attachments: GenericWritable.patch
>
>
> When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type];
> ...
> }
> {code}
> {code}
> public void readFields(DataInput in) throws IOException {
> type = in.readByte();
> Class clazz = getTypes()[type & 0xff];
> ...
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.