Title
Create new category
Edit page index title
Edit category
Edit link
scheduleRecoveries (Hbck2)
Schedules a ServerCrashProcedure (SCP) for one or more specified RegionServers.
Command Syntax
Options
-i, --inputFiles <file1> [<file2>...] Specifies one or more files containing RegionServer names, one per line.
Description
Use this command to manually initiate recovery for RegionServers that have crashed or become unresponsive. Each server must be specified in the following format:
You can find RegionServer names in this format in the HBase Master UI or in the HBase logs.
This command is supported in:
HBase 2.0.3
HBase 2.1.2
HBase 2.2.0 and newer
Return Value
One or more PIDs of the created ServerCrashProcedures, or
-1if no procedures were created (Check the Master logs for detailed reasons when no SCPs are initiated.)
Examples
Schedule recovery for a specific RegionServer:
Schedule recovery for multiple RegionServers listed in
fileName1: