签到成功

知道了

CNDBA社区CNDBA社区

HBase 执行关闭命令长时间等待的解决方法

2019-03-04 22:06 6923 0 原创 HBase
作者: dave

关闭HBase时,如果直接执行stop-hbase.sh命令,那么会一直处于等待状态,如下:http://www.cndba.cn/dave/article/3319http://www.cndba.cn/dave/article/3319

http://www.cndba.cn/dave/article/3319
http://www.cndba.cn/dave/article/3319

[dave@www.cndba.cn conf]$ stop-hbase.sh 
stopping hbase..............................................................

.^M.^M^C

解决方法,先手工关闭HMaster,在关闭HBase集群就没有出现这种情况了,如下:

http://www.cndba.cn/dave/article/3319
http://www.cndba.cn/dave/article/3319http://www.cndba.cn/dave/article/3319http://www.cndba.cn/dave/article/3319
http://www.cndba.cn/dave/article/3319
http://www.cndba.cn/dave/article/3319

[dave@www.cndba.cn conf]$ hbase-daemon.sh stop master
running master, logging to /home/hadoop/hbase/logs/hbase-hadoop-master-Slave1.out
stopping master.
[dave@www.cndba.cn conf]$ stop-hbase.sh 
no hbase master found
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hadoop/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hadoop/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]
[dave@www.cndba.cn conf]$

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
dave

dave

关注

人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."

  • 2261
    原创
  • 3
    翻译
  • 578
    转载
  • 191
    评论
  • 访问:7995666次
  • 积分:4346
  • 等级:核心会员
  • 排名:第1名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ