hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Holstad (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1622) Make KeyValue implement the Comparable interface to make it work with Cascading.
Date Sat, 11 Jul 2009 00:23:14 GMT

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

Erik Holstad commented on HBASE-1622:
-------------------------------------

Yeah, I think the above code would work, looks kinda like the code that I have at the moment.
Think that Result should be dealt with in the same fashion, since what we are going to get
in Cascading is the result from a Scanner -> Result, which is wrapped into a ResultComparable
to be able to put it into a Cascading.Tuple. After that you can split it up into it's individual
KeyValues and wrap these in the KeyValueComparable type for the same reasons.

> Make KeyValue implement the Comparable interface to make it work with Cascading.
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-1622
>                 URL: https://issues.apache.org/jira/browse/HBASE-1622
>             Project: Hadoop HBase
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Erik Holstad
>            Assignee: Erik Holstad
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: 1622-3.patch, HBASE-1622-v1.patch, HBASE-1622-v2.patch
>
>
> As with making Result implement the Comparable interface, this is used for making HBase
interact tightly with cascading, so that KeyValues can be put into Tuples.

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