hbase报错 ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

hbase报错:

hbase(main):001:0> status

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2293)
at org.apache.hadoop.hbase.master.MasterRpcServices.getClusterStatus(MasterRpcServices.java:777)
.....

解决:
登录zookeeper客户端,删除/hbase
# ./bin/zkCli.sh
[zk: localhost:2181(CONNECTED) 1] rmr /hbase

之后重启hbase服务

参考:
https://blog.csdn.net/fooelliot/article/details/86621182

原文地址:https://www.cnblogs.com/xiaoxiaozhou/p/12621060.html

时间: 2024-08-03 07:03:15

hbase报错 ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing的相关文章

HBase 报错 ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

学hbase的时候,搭建好环境启动hbase,jps查看进程发现hmaster和hregionserevr可以正常出现. 终端下输入hbase shell后也可以进入hbase的shell,输入List后就报错: 错误提示:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing 查看错误日志发现: 如图 发现有一台节点无法连接,所以master一直是等待状态,不能列出具体的namespace.启动另一台

Eclipse连接HBase 报错:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

在eclipse中连接到HBase报错org.apache.hadoop.hbase.PleaseHoldException: Master is initializing,搜索了好久,网上其它人说的解决办法对我都没用: - 做时间同步 - hbase-site.xml中参数hbase.rootdir使用hdfs协议 - 关闭防火墙 最终,参考这个论坛帖子:http://www.aboutyun.com/thread-20600-1-1.html(Hbase shell 启动报错,使用statu

安装hbase分布式集群出现的报错- ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

可能的原因如下: 1. 时间没有同步 HBase需要结点间的时间必须是同步的,可以使用date命令在Linux查看时间(同步时间命令:ntpdate 1.cn.pool.ntp.org) 2. 底层采用的不是hdfs协议 这个可以通过查看hbase-site.xml中参数hbase.rootdir的值来群定,一些其它的协议比如file协议等等, HBase也 是支持的 3.  ZooKeeper 1) 查看zookeeper的状态是否正常,可以使用 zkServer.sh status 查看状态

hbase(ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet)

今天启动clouder manager集群时候hbase list出现 (ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet ERROR: Can't get master address from ZooKeeper; znode data == null ) 一类错误 看网上有几种解决方案 一个是 1: 在使用 hbase shell 时,一直报错.花了半个多小时

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

Ambari中配置hbase: Security Enable Authentication :Simple Enable Authorization: off ==>启动 重起整个系统,工作正常, [[email protected]~]# sudo -u hbase hbase shell SLF4J:Class path contains multiple SLF4J bindings. SLF4J:Found binding in[jar:file:/usr/hdp/2.3.4.0-34

排查Hive报错:org.apache.hadoop.hive.serde2.SerDeException: java.io.IOException: Start of Array expected

CREATE TABLE json_nested_test ( count string, usage string, pkg map<string,string>, languages array<string>, store map<string,array<map<string,string>>>) ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe' STORED AS TE

kylin cube测试时,报错:org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode=&quot;/user&quot;:hdfs:supergroup:drwxr-xr-x

异常: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthoriza

解决kylin报错 ClassCastException org.apache.hadoop.hive.ql.exec.ConditionalTask cannot be cast to org.apache.hadoop.hive.ql.exec.mr.MapRedTask

方法:去掉参数SET hive.auto.convert.join=true; 从配置文件$KYLIN_HOME/conf/kylin_hive_conf.xml删掉 或 kylin-gui的cube的“参数覆盖”页上删掉. 其实关于hive.auto.convert.join kylin用的是  SET hive.auto.convert.join.noconditionaltask=true;

Hadoop重启,Hbase出现Master exiting的错误:org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting

hadoop hdfs 重新启动或者重新格式话,可能会出现一些数据丢失,报错hbase的. 我的是试验环境,所以需要重新清理这些数据. 首先要重新创建hbase在hdfs里面的文件夹: 并把赋予拥有者权限 $ sudo -u hdfs hadoop fs -mkdir /hbase $ sudo -u hdfs hadoop fs -chown hbase /hbase 清理hbase在zookeeper中的缓存数据,缓存的目录在hbase-site.xml中有. hbase启动出现错误: 20