hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Bertin (JIRA) <j...@apache.org>
Subject [jira] Commented: (HADOOP-120) Reading an ArrayWriter does not work because valueClass does not get initialized
Date Tue, 18 Jul 2006 09:44:14 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-120?page=comments#action_12421827 ] 
            
Frédéric Bertin commented on HADOOP-120:
----------------------------------------

Hello all,

what is current thinking about this bug and the right way to fix it?

What about adding a simple javadoc comment in this class to warn users that it must be derived
to be used as a Reducer value? 

> Reading an ArrayWriter does not work because valueClass does not get initialized
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-120
>                 URL: http://issues.apache.org/jira/browse/HADOOP-120
>             Project: Hadoop
>          Issue Type: Bug
>          Components: io
>         Environment: Red Hat  
>            Reporter: Dick King
>         Attachments: hadoop-120-fix.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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message