hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1304) New client server implementation of how gets and puts are handled.
Date Sat, 16 May 2009 18:01:45 GMT

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

Jonathan Gray commented on HBASE-1304:
--------------------------------------

CT and DT interfaces have .update() and .reset() methods.  Update is called in Get operations
when you move from one storefile to another (deletes apply to older storefiles only, so they
are read into another array and then a sorted merge is done in update()).  Reset is called
in Scan operations in between rows.  No enforcement of anything crosses row boundaries, outside
of filters.

Filters need to be reimplemented (well, reintegrated at least).  Anyone interested in them,
take a look into the existing RowFilter interface and the implementations... There are a number
of varying methods, some of which are only used in one or two implementations.  At the least,
I'd like to have three separate calls for row, qualifier name, and value.  They are a bit
more combined now.  The allRemaining and other methods are also good for early-out scenarios.
 But we might be able to have enum return codes instead so we have fewer methods in the interface?
 They seem a bit complex... Would be nice if we could make the interface really simple, eventually
I'd like to see that work dynamically at run-time so you don't have to compile filters in
the server jars.

> New client server implementation of how gets and puts are handled. 
> -------------------------------------------------------------------
>
>                 Key: HBASE-1304
>                 URL: https://issues.apache.org/jira/browse/HBASE-1304
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.0
>            Reporter: Erik Holstad
>            Assignee: Jonathan Gray
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: hbase-1304-v1.patch, HBASE-1304-v2.patch, HBASE-1304-v3.patch, HBASE-1304-v4.patch,
HBASE-1304-v5.patch, HBASE-1304-v6.patch, HBASE-1304-v7.patch
>
>
> Creating an issue where the implementation of the new client and server will go. Leaving
HBASE-1249 as a discussion forum and will put code and patches here.

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