[ 
https://issues.apache.org/jira/browse/HBASE-25587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288348#comment-17288348
 ] 

Peter Somogyi commented on HBASE-25587:
---------------------------------------

Thanks for the feedback [~stack]!
I haven't seen similar problems when I ran SCP for multiple clusters, although 
I haven't tested this on rather large clusters. Do you have a Jira with more 
information?

I have a patch for this ticket, however, when I wanted to create a unit test 
based on TestHBCKSCP I noticed the test is flaky. It does not reveal in the 
original test because SCP is successful for unknown and live RegionServers too, 
but the newly added command does not trigger SCPs for not unknown servers. I'm 
looking into how to stabilize the test.

> [hbck2] Schedule SCP for all unknown servers
> --------------------------------------------
>
>                 Key: HBASE-25587
>                 URL: https://issues.apache.org/jira/browse/HBASE-25587
>             Project: HBase
>          Issue Type: New Feature
>          Components: hbase-operator-tools, hbck2
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Major
>
> Add a command to HBCK2 that schedules SCPs for _unknown servers_. This 
> command is useful when a new installation of HBase is pointing to a 
> previously used HBase root directory where the hbase:meta table is populated. 
> This will contain references to RegionServers from the previous installation 
> and SCP will not be created against these servers and the regions won't be 
> assigned to the new server.
> The scheduleRecoveries command in HBCK2 could be used to initiate a SCP 
> one-by-one for the unknown servers, however, collecting the list of servers 
> could be difficult on a large cluster.
> I'm proposing to add a command to HBCK2 that will schedule SCPs for all the 
> unknown servers in the cluster.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to