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 "Cameron Pope (JIRA)" <ji...@apache.org> on 2007/09/13 22:27:32 UTC

[jira] Issue Comment Edited: (HADOOP-120) Reading an ArrayWriter does not work because valueClass does not get initialized

    [ https://issues.apache.org/jira/browse/HADOOP-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527245 ] 

camerooni edited comment on HADOOP-120 at 9/13/07 1:27 PM:
--------------------------------------------------------------

Yes, that's definitely a better fix and if anyone is using ArrayWritable's default constructor, it should be easy to change.

      was (Author: camerooni):
    Yes, that's definitely a better fix and if anyone is using ArrayWritable's default constructor, it sould be easy to change.
  
> Reading an ArrayWriter does not work because valueClass does not get initialized
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-120
>                 URL: https://issues.apache.org/jira/browse/HADOOP-120
>             Project: Hadoop
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.15.0
>         Environment: Red Hat  
>            Reporter: Dick King
>            Assignee: Doug Cutting
>         Attachments: HADOOP-120-3.patch, hadoop-120-fix.patch, hadoop-120-workaround.patch
>
>
> If you have a Reducer whose value type is an ArrayWriter it gets enstreamed alright but at reconstruction type when ArrayWriter::readFields(DataInput in) runs on a DataInput that has a nonempty ArrayWriter , newInstance fails trying to instantiate the null class.

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