[
https://issues.apache.org/jira/browse/HBASE-11608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085250#comment-14085250
]
Matteo Bertozzi commented on HBASE-11608:
-----------------------------------------
the current admin implementation is kind of broken, and since we lack in
infrastructure to build proper sync operations overtime we implemented
workaround to obtain the sync operation.
The problems are:
* If you have the sync call on the server and the operation is long: 1) you
are blocking all the other rpc handlers. 2) in case of failure client side or
server side you don't know the state of the operation.
* if you use the poll by relying on something like META we are stuck in
keeping that execution order and that "META" format to keep the client
compatibility. (one solution to avoid this problem is to have something like
the "isDone" method for snapshot, where the server gives you the status of the
operation. but you end up having tons of "isDone" for each sync operation that
you want)
I'd say that we should stop adding features can't be implemented in a
straightforward way and that may prevent future rolling upgrade compatibily.
HBASE-5487 and HBASE-9864 should solve all these problems with long operations
and operation across the cluster.
> Add synchronous split
> ---------------------
>
> Key: HBASE-11608
> URL: https://issues.apache.org/jira/browse/HBASE-11608
> Project: HBase
> Issue Type: New Feature
> Components: Admin
> Affects Versions: 0.99.0, 0.98.5
> Reporter: Jerry He
>
> Users have been asking for this. We have an internal requirement for this as
> well.
> The goal is a provide a Admin API (and shell command) so that users can
> request to split a region or table and get the split completion result
> synchronously.
--
This message was sent by Atlassian JIRA
(v6.2#6252)