You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/05/15 22:45:42 UTC

[jira] Assigned: (HBASE-2532) LuceneDocumentWrapper Needs no argument constructor

     [ https://issues.apache.org/jira/browse/HBASE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack reassigned HBASE-2532:
----------------------------

    Assignee: Kay Kay

We can close this, can't we Kay Kay, because this stuff has moved out to github: http://github.com/akkumar/hbasene (Assigning to you so you can close it and so you are aware of the issue being reported by Ananth).   I suppose if a patch, we could apply it to 0.20 branch in time for 0.20.5?

> 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.