hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HBase Review Board (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3211) Key (Index) Only Fetches
Date Wed, 10 Nov 2010 23:34:15 GMT

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

HBase Review Board commented on HBASE-3211:
-------------------------------------------

Message from: "Jonathan Gray" <jgray@apache.org>


bq.  On 2010-11-10 15:25:07, Ryan Rawson wrote:
bq.  > trunk/src/main/java/org/apache/hadoop/hbase/KeyValue.java, line 1199
bq.  > <http://review.cloudera.org/r/1208/diff/1/?file=17147#file17147line1199>
bq.  >
bq.  >     I'm torn here, this is making the implementation easy, but KeyValues have been
immutable to date.  While no one shares KeyValues between threads or scanners, and ideally
no one should, this seems dangerous.
bq.  >     
bq.  >

It doesn't actually touch the original byte[] so does not actually destroy/mutate the underlying
data in any way.  Agreed it's still potentially "dangerous" but that's why I've added the
nice warning message in javadoc :)


- Jonathan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1208/#review1891
-----------------------------------------------------------





> Key (Index) Only Fetches
> ------------------------
>
>                 Key: HBASE-3211
>                 URL: https://issues.apache.org/jira/browse/HBASE-3211
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Jonathan Gray
>
> When you retrieve data from HBase you get Key (Row+Column+Timestamp) + Values. 
> It would be nice to have a mode where we only fetch the keys (i.e. the index) but not
the values.

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