[
https://issues.apache.org/jira/browse/HBASE-5542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HBASE-5542:
-------------------------------
Attachment: HBASE-5542.D2217.11.patch
sc updated the revision "HBASE-5542 [jira] Unify HRegion.mutateRowsWithLocks()
and HRegion.processRow()".
Reviewers: tedyu, lhofhansl, JIRA
Use a cached thread pool for the rowProcessor.process() future task.
Make the default timeout for coprocessor calls 10 minute.
mutateRowsWithLocks has no timeout and does not use the thread pool.
REVISION DETAIL
https://reviews.facebook.net/D2217
AFFECTED FILES
src/main/java/org/apache/hadoop/hbase/coprocessor/BaseRowProcessorEndpoint.java
src/main/java/org/apache/hadoop/hbase/coprocessor/RowProcessorProtocol.java
src/main/java/org/apache/hadoop/hbase/regionserver/BaseRowProcessor.java
src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
src/main/java/org/apache/hadoop/hbase/regionserver/MultiRowMutationProcessor.java
src/main/java/org/apache/hadoop/hbase/regionserver/RowProcessor.java
src/main/java/org/apache/hadoop/hbase/coprocessor/RowProcessor.java
src/test/java/org/apache/hadoop/hbase/coprocessor/TestProcessRowEndpoint.java
src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java
> Unify HRegion.mutateRowsWithLocks() and HRegion.processRow()
> ------------------------------------------------------------
>
> Key: HBASE-5542
> URL: https://issues.apache.org/jira/browse/HBASE-5542
> Project: HBase
> Issue Type: Improvement
> Reporter: Scott Chen
> Assignee: Scott Chen
> Fix For: 0.96.0
>
> Attachments: HBASE-5542.D2217.1.patch, HBASE-5542.D2217.10.patch,
> HBASE-5542.D2217.11.patch, HBASE-5542.D2217.2.patch,
> HBASE-5542.D2217.3.patch, HBASE-5542.D2217.4.patch, HBASE-5542.D2217.5.patch,
> HBASE-5542.D2217.6.patch, HBASE-5542.D2217.7.patch, HBASE-5542.D2217.8.patch,
> HBASE-5542.D2217.9.patch
>
>
> mutateRowsWithLocks() does atomic mutations on multiple rows.
> processRow() does atomic read-modify-writes on a single row.
> It will be useful to generalize both and have a
> processRowsWithLocks() that does atomic read-modify-writes on multiple rows.
> This also helps reduce some redundancy in the codes.
--
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