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-2400) new connector for Avro RPC access to HBase cluster
Date Thu, 10 Jun 2010 01:14:15 GMT

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

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

Message from: "Ryan Rawson" <ryanobjc@gmail.com>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.hbase.org/r/128/#review168
-----------------------------------------------------------



trunk/src/main/java/org/apache/hadoop/hbase/avro/hbase.genavro
<http://review.hbase.org/r/128/#comment824>

    in this case we have to distinguish between 'give me family X' and 'give me family X 0
length qualifier' which are in fact different queries and are both representable in the standard
Get Java API.
    
    the java code does this by using a map of a map in the Get object:
    Map<byte[], Set<byte[]>> familyMap;
    where the key is the family, and the value is the set of qualifiers for said family. 
If you want to get a family the code will use 'null' as the Set value.
    
    For the Avro API we don't have to do it in the same way, but we need to know the difference
between those queries. perhaps using AColumn 'family = foo, qualifier=null' can be the 'give
me the family' and 'family = foo, qualifier = 0 length bytes' can be the other?


- Ryan





> new connector for Avro RPC access to HBase cluster
> --------------------------------------------------
>
>                 Key: HBASE-2400
>                 URL: https://issues.apache.org/jira/browse/HBASE-2400
>             Project: HBase
>          Issue Type: Task
>          Components: avro
>            Reporter: Andrew Purtell
>            Priority: Minor
>         Attachments: HBASE-2400-v0.patch
>
>
> Build a new connector contrib architecturally equivalent to the Thrift connector, but
using Avro serialization and associated transport and RPC server work. Support AAA (audit,
authentication, authorization). 

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