Thanks your reply. I am reading the code about hmaster failover. Process. It seems a bug. I will try to make this case and confirm it.
-----邮件原件----- 发件人: Ted Yu [mailto:[email protected]] 发送时间: 2011年8月9日 17:20 收件人: [email protected] 主题: Re: A question about Master failover Can you show us the log snippet containing the stack trace ? Thanks On Aug 9, 2011, at 2:15 AM, Gaojinchao <[email protected]> wrote: > > In function rebuildUserRegions, The region that regionLocation is null is > put into regions set. It seems a bug. > It will throw exception when DisableTableHandler processes it. Skipping this > region seems better. > > code: > if (regionLocation == null) { > // Region not being served, add to region map with no assignment > // If this needs to be assigned out, it will also be in ZK as RIT > // add if the table is not in disabled state > if (false == checkIfRegionBelongsToDisabled(regionInfo)) { > this.regions.put(regionInfo, null); > } > if (checkIfRegionBelongsToDisabling(regionInfo)) { > //Should we skip this region? > disablingTables.add(disablingTableName); > } > } else if (!serverManager.isServerOnline(regionLocation.getServerName())) {
