监控hbase的regionserver服务是否挂掉,并重启
监控脚本#shellhbaseregionexists = `ps aux|grep hbase.regionserver.HRegionServer | grep -v grep | wc -l`hbaseregionpid = `ps aux|grep hbase.regionserver.HRegionServer | grep -v grep | awk '{ print $2...
原创
2020-01-07 21:07:17 ·
628 阅读 ·
0 评论