hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2532) LuceneDocumentWrapper Needs no argument constructor
Date Sun, 16 May 2010 03:54:42 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867948#action_12867948
] 

Kay Kay commented on HBASE-2532:
--------------------------------

Thanks, stack. Makes sense. Will submit a patch for the branch ( for 0.20.5, release) for
the same. 


> LuceneDocumentWrapper Needs no argument constructor
> ---------------------------------------------------
>
>                 Key: HBASE-2532
>                 URL: https://issues.apache.org/jira/browse/HBASE-2532
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 0.20.3
>         Environment: All
>            Reporter: Ananth Sarathy
>            Assignee: Kay Kay
>
> For reading an object out a sequencefile, a no argument constructor is required... 
> if not you end up with a  java.lang.NoSuchMethodException
> From Owen O'Malley
> Assumption for Writables that should be documented somewhere:
>  * Each type must have a 0 argument constructor.
>  * Each call to write must not assume any shared state.
>  * Each call to readFields must consume exactly the number of bytes
> produced by write.
> SequenceFile also assumes:
>  * All keys are exactly the same type (not polymorphic).
>  * All values are exactly the same type.
>  * Both types are specified by the writer in the create call.

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


Mime
View raw message