You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claudio Corsi (JIRA)" <ji...@apache.org> on 2012/09/07 22:56:09 UTC

[jira] [Updated] (CAMEL-5580) The RowModel Data does not include the correct cell value type and some minor changes.

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

Claudio Corsi updated CAMEL-5580:
---------------------------------

    Attachment: hbase-patch-2.diffs

Here is the patch that implements those aforementioned changes.
                
> The RowModel Data does not include the correct cell value type and some minor changes.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5580
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5580
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-hbase
>    Affects Versions: 2.10.1
>            Reporter: Claudio Corsi
>            Priority: Minor
>              Labels: camel-hbase
>             Fix For: 2.11.0, 2.10.2
>
>         Attachments: hbase-patch-2.diffs
>
>
> The hbase component create a row model from the passed endpoint configuration using the family/qualifier/etc information from the uri.  
> This process currently does not extra the value type for value type n greater than 1.  It currently uses the value type from the one defined for value 1.  This is currently not a problem since this information is not being used within the hbase component but if we intend to use it the future this fix insures that it will extract the correct information for the row model.
> The extracted CellMappingStrategy within the HBaseConsumer is always going to return the same instance throughout the for loop.  This has been moved outside of the for loop so that it is extract only once instead of multiple times.
> Added a check to the setValueType method of the HBaseCell class to sure that the passed value is non-null else raise an exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira