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

Phabricator commented on HBASE-5515:
------------------------------------

lhofhansl has commented on the revision "HBASE-5515 [jira] Add a processRow API 
that supports atomic multiple reads and writes on a row".

  @Scott: FriendsOfFriendsProtocol would be known to the client and 
FriendsOfFriendsEndpoint to the server.
  You can always add a tiny client side wrapper to make it more convenient.

  It's cool if you want to do it differently.
  But keep in mind that a lot of effort went into getting classloading for 
coprocessors right. They can be loaded dynamically from a jar on HDFS and per 
table, or statically and globally for all tables.
  For example you could deploy new row processing logic without touching the 
servers at all (by loading a jar from HDFS).
  That is actually something I do not like about filters, to use a new filter 
it needs to be deployed at every regionserver and requires a rolling restart of 
the cluster. Coprocessors nicely solve this problems.

  With the current approach the row processing implementation would need to be 
deployed outside of the coprocessor framework and always require a cluster 
restart.


REVISION DETAIL
  https://reviews.facebook.net/D2067

                
> Add a processRow API that supports atomic multiple reads and writes on a row
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-5515
>                 URL: https://issues.apache.org/jira/browse/HBASE-5515
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>         Attachments: HBASE-5515.D2067.1.patch, HBASE-5515.D2067.10.patch, 
> HBASE-5515.D2067.11.patch, HBASE-5515.D2067.12.patch, 
> HBASE-5515.D2067.13.patch, HBASE-5515.D2067.14.patch, 
> HBASE-5515.D2067.15.patch, HBASE-5515.D2067.16.patch, 
> HBASE-5515.D2067.2.patch, HBASE-5515.D2067.3.patch, HBASE-5515.D2067.4.patch, 
> HBASE-5515.D2067.5.patch, HBASE-5515.D2067.6.patch, HBASE-5515.D2067.7.patch, 
> HBASE-5515.D2067.8.patch, HBASE-5515.D2067.9.patch
>
>
> We have modified HRegion.java internally to do some atomic row processing. It 
> will be nice to have a plugable API for this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to