[ https://issues.apache.org/jira/browse/HBASE-4720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172041#comment-13172041 ]
Zhihong Yu commented on HBASE-4720: ----------------------------------- The diff was made against 0.90.5 I got the following when trying to apply to TRUNK: {code} 1 out of 2 hunks FAILED -- saving rejects to file src/main/java/org/apache/hadoop/hbase/rest/TableResource.java.rej {code} I suggest the following steps based on TRUNK: 1. continue with refactoring 2. add unit tests for the new XXResource classes (remember to add test category) 3. let Hadoop QA test the patch Minor comment: year isn't needed for license Thanks for your effort Mubarak. > Implement atomic update operations (checkAndPut, checkAndDelete) for REST > client/server > ---------------------------------------------------------------------------------------- > > Key: HBASE-4720 > URL: https://issues.apache.org/jira/browse/HBASE-4720 > Project: HBase > Issue Type: Improvement > Reporter: Daniel Lord > Attachments: HBASE-4720.v1.patch > > > I have several large application/HBase clusters where an application node > will occasionally need to talk to HBase from a different cluster. In order > to help ensure some of my consistency guarantees I have a sentinel table that > is updated atomically as users interact with the system. This works quite > well for the "regular" hbase client but the REST client does not implement > the checkAndPut and checkAndDelete operations. This exposes the application > to some race conditions that have to be worked around. It would be ideal if > the same checkAndPut/checkAndDelete operations could be supported by the REST > client. -- 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