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 zno

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

2023-03-09 Thread
ly conservative > > and not prioritizing availability. There’s no concern for racing for > master > > node, since it uses ZK for leader election, which is designed for this > > case. I’d recommend you do what you describe instead if you value > > availability (who doesn’t

Re: export and import the data

2023-05-10 Thread
Hi Jignesh, for online service hbase cluster (it means there is data written during transforming), I prefer to use ExportSnapshot to copy data from cluster to cluster, because of the less performance impact, and also you can use *-bandwidth* parameter to control network costs. You can also make sna

Re: export and import the data

2023-05-12 Thread
re and > importing back to HDFS back with the same folder structure. > > On Wed, May 10, 2023 at 10:11 PM 杨光 wrote: > > > Hi Jignesh, for online service hbase cluster (it means there is data > > written during transforming), I prefer to use ExportSnapshot to copy data > >