[
https://issues.apache.org/jira/browse/HBASE-19290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268414#comment-16268414
]
binlijin edited comment on HBASE-19290 at 11/28/17 9:10 AM:
------------------------------------------------------------
bq.Many apologies for the wasted time! (will try to make up for it somehow)
Not at all. Thanks very much for you review.
bq.If you haven't committed already, please change taskGrabbed to a boolean
since its count doesn't matter.
OK, do in HBASE-19290.master.005.patch
was (Author: aoxiang):
bq.Many apologies for the wasted time! (will try to make up for it somehow)
Not at all.
bq.If you haven't committed already, please change taskGrabbed to a boolean
since its count doesn't matter.
OK, do in HBASE-19290.master.005.patch
> Reduce zk request when doing split log
> --------------------------------------
>
> Key: HBASE-19290
> URL: https://issues.apache.org/jira/browse/HBASE-19290
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Assignee: binlijin
> Attachments: HBASE-19290.master.001.patch,
> HBASE-19290.master.002.patch, HBASE-19290.master.003.patch,
> HBASE-19290.master.004.patch, HBASE-19290.master.005.patch
>
>
> We observe once the cluster has 1000+ nodes and when hundreds of nodes abort
> and doing split log, the split is very very slow, and we find the
> regionserver and master wait on the zookeeper response, so we need to reduce
> zookeeper request and pressure for big cluster.
> (1) Reduce request to rsZNode, every time calculateAvailableSplitters will
> get rsZNode's children from zookeeper, when cluster is huge, this is heavy.
> This patch reduce the request.
> (2) When the regionserver has max split tasks running, it may still trying to
> grab task and issue zookeeper request, we should sleep and wait until we can
> grab tasks again.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)