hbase 优化节点进程停止方式

一、命令

shell 复制代码
/usr/local/fqlhadoop/hbase/bin/graceful_stop.sh 4.hadoop3.com

日志:

shell 复制代码
[biadmin@4 ~]$ /usr/local/fqlhadoop/hbase/bin/graceful_stop.sh 4.hadoop3.com
2024-06-24T09:42:27 Disabling load balancer
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2024-06-24T09:42:37 Previous balancer state was true
2024-06-24T09:42:37 Unloading 4.hadoop3.com region(s)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
2024-06-24 09:42:38,717 WARN  [main] client.ConnectionImplementation: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:38,748 WARN  [main] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:38,750 WARN  [main] client.AsyncProcess: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:host.name=4.hadoop3.com
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.version=1.8.0_121
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.8.0_121/jre
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: educe/lib/paranamer-2.3.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.5-tests.jar:/usr/local/fqlhadoop/hadoop/contrib/capacity-scheduler/*.jar:/usr/local/fqlhadoop/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.library.path=/usr/local/fqlhadoop/hadoop/lib/native:/usr/local/fqlhadoop/hadoop/lib/native
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:os.name=Linux
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:os.arch=amd64
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:os.version=2.6.32-642.el6.x86_64
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:user.name=biadmin
2024-06-24 09:42:38,837 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:user.home=/home/biadmin
2024-06-24 09:42:38,837 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:user.dir=/home/biadmin
2024-06-24 09:42:38,838 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Initiating client connection, connectString=1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181 sessionTimeout=180000 watcher=org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient$$Lambda$13/861628141@77b17d3d
2024-06-24 09:42:38,856 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(3.hadoop3.com:2181)] zookeeper.ClientCnxn: Opening socket connection to server 3.hadoop3.com/10.9.21.37:2181. Will not attempt to authenticate using SASL (unknown error)
2024-06-24 09:42:38,863 WARN  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(3.hadoop3.com:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
2024-06-24 09:42:38,978 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(1.hadoop3.com:2181)] zookeeper.ClientCnxn: Opening socket connection to server 1.hadoop3.com/10.9.21.39:2181. Will not attempt to authenticate using SASL (unknown error)
2024-06-24 09:42:38,978 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(1.hadoop3.com:2181)] zookeeper.ClientCnxn: Socket connection established to 1.hadoop3.com/10.9.21.39:2181, initiating session
2024-06-24 09:42:38,982 WARN  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ReadOnlyZKClient: 0x00865dd6 to 1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181 failed for get of /hbase/hbaseid, code = CONNECTIONLOSS, retries = 1
2024-06-24 09:42:38,988 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(1.hadoop3.com:2181)] zookeeper.ClientCnxn: Session establishment complete on server 1.hadoop3.com/10.9.21.39:2181, sessionid = 0x11ebf379aff641b, negotiated timeout = 40000
2024-06-24 09:42:40,881 INFO  [pool-2-thread-1] util.RegionMover: Moving 7 regions from 4.hadoop3.com to 2 servers using 1 threads .Ack Mode:true
2024-06-24 09:42:40,960 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:41,100 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:41,127 INFO  [pool-3-thread-1] util.RegionMover: Moving region:bf87bdf2f592eba2a65f81942e2c963a from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:42,411 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,417 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,426 INFO  [pool-3-thread-1] util.RegionMover: Moved Region t2024,,1710491832830.bf87bdf2f592eba2a65f81942e2c963a. cost:1.542
2024-06-24 09:42:42,427 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,433 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,443 INFO  [pool-3-thread-1] util.RegionMover: Moving region:f2b2762c312106000a7fd290f50b889d from 4.hadoop3.com,16020,1712450694709 to 5.hadoop3.com,16020,1718964163316
2024-06-24 09:42:43,657 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,663 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,982 INFO  [pool-3-thread-1] util.RegionMover: Moved Region archi_trace_info_2024-06-21,,1718812998944.f2b2762c312106000a7fd290f50b889d. cost:1.556
2024-06-24 09:42:43,983 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,987 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,999 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:44,002 INFO  [pool-3-thread-1] util.RegionMover: Moving region:cf0d46666c7a8ed289b3c5031c9bcd95 from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:46,163 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,167 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,178 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,185 INFO  [pool-3-thread-1] util.RegionMover: Moved Region archi_trace_info_2024-06-23,,1718985801607.cf0d46666c7a8ed289b3c5031c9bcd95. cost:2.203
2024-06-24 09:42:46,185 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,189 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,192 INFO  [pool-3-thread-1] util.RegionMover: Moving region:84d6dc8baa202330aeda3ab63c0d6be9 from 4.hadoop3.com,16020,1712450694709 to 5.hadoop3.com,16020,1718964163316
2024-06-24 09:42:47,330 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,335 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,342 INFO  [pool-3-thread-1] util.RegionMover: Moved Region archi_trace_info_2024-06-25,,1719158598133.84d6dc8baa202330aeda3ab63c0d6be9. cost:1.157
2024-06-24 09:42:47,343 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,349 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,371 INFO  [pool-3-thread-1] util.RegionMover: Moving region:50637945a7f37725c0ce191ea688fd2e from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:48,523 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,528 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,581 INFO  [pool-3-thread-1] util.RegionMover: Moved Region panda_feature,,1702977799676.50637945a7f37725c0ce191ea688fd2e. cost:1.238
2024-06-24 09:42:48,582 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,585 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,592 INFO  [pool-3-thread-1] util.RegionMover: Moving region:882ce86ae6dc43cc91d00cb6dafa2dfa from 4.hadoop3.com,16020,1712450694709 to 5.hadoop3.com,16020,1718964163316
2024-06-24 09:42:49,735 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,739 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,748 INFO  [pool-3-thread-1] util.RegionMover: Moved Region hbase:namespace,,1702977675141.882ce86ae6dc43cc91d00cb6dafa2dfa. cost:1.167
2024-06-24 09:42:49,749 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,753 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,757 INFO  [pool-3-thread-1] util.RegionMover: Moving region:8db1d588b3cf6e958db6e06954718904 from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:50,898 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:50,901 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:50,909 INFO  [pool-3-thread-1] util.RegionMover: Moved Region portrait_info_fql,,1709101671739.8db1d588b3cf6e958db6e06954718904. cost:1.161
2024-06-24 09:42:50,910 INFO  [pool-2-thread-1] util.RegionMover: No Regions to move....Quitting now
2024-06-24 09:42:50,929 INFO  [main] client.ConnectionImplementation: Closing master protocol: MasterService
2024-06-24T09:42:51 Unloaded 4.hadoop3.com region(s)
2024-06-24T09:42:51 Stopping regionserver on 4.hadoop3.com
running regionserver, logging to /usr/local/fqlhadoop/logs/hbase/hbase-biadmin-regionserver-4.hadoop3.com.out
stopping regionserver.
2024-06-24T09:42:52 Restoring balancer state to true
[biadmin@4 ~]$ 
相关推荐
lzhlizihang5 分钟前
【Hive sql 面试题】求出各类型专利top 10申请人,以及对应的专利申请数(难)
大数据·hive·sql·面试题
Tianyanxiao8 分钟前
如何利用探商宝精准营销,抓住行业机遇——以AI技术与大数据推动企业信息精准筛选
大数据·人工智能·科技·数据分析·深度优先·零售
大数据编程之光10 分钟前
Hive 查询各类型专利 top10 申请人及专利申请数
大数据·数据仓库·hive·hadoop
superman超哥28 分钟前
04 深入 Oracle 并发世界:MVCC、锁、闩锁、事务隔离与并发性能优化的探索
数据库·oracle·性能优化·dba
GDDGHS_39 分钟前
大数据工具 flume 的安装配置与使用 (详细版)
大数据·flume
engchina1 小时前
Neo4j 和 Python 初学者指南:如何使用可选关系匹配优化 Cypher 查询
数据库·python·neo4j
engchina1 小时前
使用 Cypher 查询语言在 Neo4j 中查找最短路径
数据库·neo4j
尘浮生1 小时前
Java项目实战II基于Spring Boot的光影视频平台(开发文档+数据库+源码)
java·开发语言·数据库·spring boot·后端·maven·intellij-idea
威哥爱编程1 小时前
SQL Server 数据太多如何优化
数据库·sql·sqlserver
小华同学ai1 小时前
AJ-Report:一款开源且非常强大的数据可视化大屏和报表工具
数据库·信息可视化·开源