Re: Why hbase stop all HMaster service first when rolling restart in rolling-restart.sh

2023-03-09 Thread 杨光
Thanks for your replaying! I'm working on this recently, let me create an issue and update it. Bryan Beaudreault 于2023年3月10日周五 10:41写道: > Taking a look at the git blame for the script, some of the parts you > reference are over 13 years old. So it may just be that they deserve some > updating.

Re: Why hbase stop all HMaster service first when rolling restart in rolling-restart.sh

2023-03-09 Thread Bryan Beaudreault
Taking a look at the git blame for the script, some of the parts you reference are over 13 years old. So it may just be that they deserve some updating. Anyway, you are not missing anything and your approach is both safe and more graceful. On Thu, Mar 9, 2023 at 8:47 PM Bryan Beaudreault wrote:

Re: Why hbase stop all HMaster service first when rolling restart in rolling-restart.sh

2023-03-09 Thread Bryan Beaudreault
I can’t speak to why the script is the way it is. But I will say that my company has been running hbase at massive scale with high reliability standards for years. We’ve never used any of the built in shell scripts. We have our own automation, and our HMaster rolling restart is more like what you

Why hbase stop all HMaster service first when rolling restart in rolling-restart.sh

2023-03-08 Thread 杨光
Hi everyone! I just read the rolling-restart.sh in $HBASE_HOME/bin, found that the script would stop all master service (including the backup ones) at the same time, and then restart them both: # The content of rolling-restart.sh ... # stop all masters before re-start to avoid races for master