hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-794) Language neutral IPC as a first class component of HBase architecture
Date Fri, 01 May 2009 22:27:30 GMT

    [ https://issues.apache.org/jira/browse/HBASE-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705156#action_12705156

ryan rawson commented on HBASE-794:

+1 on protobufs.  Generally:
- extremely stable, used extensively within google
- well tested, good test suite, etc.

One small aspect I dislike about Thrift RPC is the inability to return null objects.  This
means that the thrift protocol for hbase must throw exceptions when a key is not found.  For
clients that dont like that, they have to write wrappers around the thrift API.  I looked
into it, the reason is the C++ binding returns objects, not pointers, thus you cannot have
a 'null' object.  Obviously the fix it to change the C++ API, but that seems like a bit much
within the context of 'fix HBASE's RPC method'.

We absolutely _require_ a non-versioned RPC protocol.  We need to be able to peacemeal upgrade
our clusters.  I would like to avoid ever using bin/stop-hbase.sh moving forward.

> Language neutral IPC as a first class component of HBase architecture
> ---------------------------------------------------------------------
>                 Key: HBASE-794
>                 URL: https://issues.apache.org/jira/browse/HBASE-794
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: client, ipc, master, regionserver
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
> This issue considers making a language neutral IPC mechanism and wire format a first
class component of HBase architecture. Clients could talk to the master and regionserver using
this protocol instead of HRPC at their option.
> Options for language neutral IPC include:
> * Thrift: http://incubator.apache.org/thrift/
> * Protocol buffers: http://code.google.com/p/protobuf/
> * XDR: http://en.wikipedia.org/wiki/External_Data_Representation

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message