Re: Re: Re: pool MASTER_OPEN_REGION in hmaster is not used

2016-06-03 Thread WangYQ
in 98, many operations are executed concurrently using zkWorkers, so some pools are not used. can be removed to make code clean and easy to read thanks On 2016-06-03 21:17 , Ted Yu Wrote: I checked head of 0.98 branch. For the two 'new OpenedRegionHandler()' calls in AssignmentManager.java,

Re: Re: pool MASTER_OPEN_REGION in hmaster is not used

2016-06-03 Thread Ted Yu
I checked head of 0.98 branch. For the two 'new OpenedRegionHandler()' calls in AssignmentManager.java, process() is invoked directly. Looks like you're right. On Thu, Jun 2, 2016 at 10:58 PM, WangYQ wrote: > RS_ZK_REGION_OPENED (4, ExecutorType.MASTER_OPEN_REGION),there is a > relation

Re: pool MASTER_OPEN_REGION in hmaster is not used

2016-06-02 Thread Ted Yu
Have you seen this line in EventType.java ? RS_ZK_REGION_OPENED (4, ExecutorType.MASTER_OPEN_REGION), If you follow RS_ZK_REGION_OPENED, you would see how the executor is used. On Thu, Jun 2, 2016 at 4:56 AM, WangYQ wrote: > in hbase 0.98.10, class HMaster, method startServiceThread, h