[
https://issues.apache.org/jira/browse/HBASE-11370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042631#comment-14042631
]
Jimmy Xiang commented on HBASE-11370:
-------------------------------------
bq. nit: Is the javadoc right still?
I will fix it. It should be something like "return a set of servers not online
that host some region per META"
bq. We are not looking at META anymore?
If not using ZK for assignment, SSH doesn't look at META anymore.
bq. Why remove the methods in MasterFileSystem? They are not used anymore?
It has some methods that used to be used by SSH. I forgot to purge it in
HBASE-11059.
bq. What is lastHost?
It is the host where the region is previously assigned to. I will add some
comment here. serverName is the host where the region is transitioning now.
They could be different.
bq. That comes from in-memory state?
That's from the META during rebuilding the user regions.
bq. And the new splitrRegion and mergeRegion methods are related to this patch?
They were moved?
Yes, they are related. They are changed a little to update the in-memory state
too.
bq. Why we need to do this in TestHBCK now?
This is because of the change to splitRegion above.
> SSH doesn't need to scan meta if not using ZK for assignment
> ------------------------------------------------------------
>
> Key: HBASE-11370
> URL: https://issues.apache.org/jira/browse/HBASE-11370
> Project: HBase
> Issue Type: Improvement
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Priority: Minor
> Fix For: 0.99.0
>
> Attachments: hbase-11370.patch
>
>
> If we don't use ZK for assignment, the meta content should be the same as
> that in memory. So we should be able to avoid a meta scan.
--
This message was sent by Atlassian JIRA
(v6.2#6252)