[ 
https://issues.apache.org/jira/browse/HBASE-24671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Baiqiang Zhao updated HBASE-24671:
----------------------------------
    Release Note: 
Add excludefile and designatedfile options to graceful_stop.sh. 

Designated file with <hostname:port> per line as unload targets.

Exclude file should have <hostname:port> per line. We do not unload regions to 
hostnames given in exclude file.

Here is a simple example using graceful_stop.sh with designatedfile option:
./bin/graceful_stop.sh --maxthreads 4 --designatedfile /path/designatedfile 
hostname
The usage of the excludefile option is the same as the above.

  was:
Add excludefile and designatedfile options to graceful_stop.sh. 

Designated file with <hostname:port> per line as unload targets.

Exclude file should have <hostname:port> per line. We do not unload regions to 
hostnames given in exclude file.

Here is a simple example using graceful_stop.sh with designatedfile option:
./bin/graceful_stop.sh --maxthreads 4 --designatedfile /path/designatedfile 
hostname
The usage of the excludefile option is the same as the above.

If excludefile and designedfile are used at the same time. First filter out the 
list of RSs based on the designedfile, and then exclude the RS contained in the 
excludefile from the RSs. Finally, the rest of the RSs are the targets of 
unload.



> Add excludefile and designatedfile options to graceful_stop.sh
> --------------------------------------------------------------
>
>                 Key: HBASE-24671
>                 URL: https://issues.apache.org/jira/browse/HBASE-24671
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha-1, 2.4.0
>            Reporter: Baiqiang Zhao
>            Assignee: Baiqiang Zhao
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.4.0
>
>
> RegionMover is support excludefile and designatedfile options now. Integrate 
> these two options into graceful_stop.sh.



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

Reply via email to