You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2017/06/07 09:55:18 UTC

[jira] [Commented] (HBASE-18183) Region interface cleanup for CP expose

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

Anoop Sam John commented on HBASE-18183:
----------------------------------------

To be considered APIs after my first pass
refreshStoreFiles
getOpenSeqNum
getMaxFlushedSeqId?
getOldestSeqIdOfStore
getMaxStoreSeqId?
updateReadRequestsCount
updateWriteRequestsCount
getRegionServicesForStores - RegionServicesForStores is private
getMetrics - MetricsRegion is private
getHDFSBlocksDistribution - HDFSBlocksDistribution private
batchReplay
get(Get get, boolean withCoprocessor, long nonceGroup, long nonce)
bulkLoadHFiles
execService
registerService

startRegionOperation
closeRegionOperation
These are supposed to be called with the region ops like puts/gets. Why CP user has to explicit call these?
getRowLock, releaseRowLocks also?

increment/append -  How CP knows the nonceGroup,nonce?  - Need a version which does not take these params? These params make no sense within RS context. Or add javadoc mentioning use of HConstants.NO_NONCE

waitForFlushesAndCompactions
waitForFlushes
No point in a CP waiting for these actions

> Region interface cleanup for CP expose
> --------------------------------------
>
>                 Key: HBASE-18183
>                 URL: https://issues.apache.org/jira/browse/HBASE-18183
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)