Hbase运行时出现的问题(There could be a mismatch with the one configured in the master.)及其解决方法:
来源:互联网 发布:windows编程视频 编辑:程序博客网 时间:2024/05/16 19:45
Hbase运行时出现的问题(There could be a mismatch with the one configured in the master.)及其解决方法:
运行hbase时出现下面问题:
[hadoop@Masterpc hadoop]$ hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.12, r1524863, Fri Sep 20 04:44:41 UTC 2013
hbase(main):001:0> status
15/03/10 11:19:04 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
15/03/10 11:19:06 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
。。。。。。。(省)
ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times
Here is some help for this command:
Show cluster status. Can be 'summary', 'simple', or 'detailed'. The
default is 'summary'. Examples:
hbase> status
hbase> status 'simple'
hbase> status 'summary'
hbase> status 'detailed'
一种解决方法:查看占用端口2181的进程:
然后把占用的进程删除,然后重新启动:
然后分别进行:
[hadoop@Masterpc ~]$ start-all.sh 启动hadoop
[hadoop@Masterpc ~]$ start-hbase.sh 启动hbase
然后进行hbase操作:显示正常工作
[hadoop@Masterpc ~]$ hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.12, r1524863, Fri Sep 20 04:44:41 UTC 2013
hbase(main):001:0> status
3 servers, 0 dead, 0.6667 average load
hbase(main):002:0> list
TABLE
0 row(s) in 0.4720 seconds
hbase(main):005:0> create 'tab1','fam1'
0 row(s) in 1.7840 seconds
hbase(main):006:0> list
TABLE
tab1
1 row(s) in 0.0530 seconds
- Hbase运行时出现的问题(There could be a mismatch with the one configured in the master.)及其解决方法:
- 黑马bos项目运行json时出现There is a cycle in the hierarchy!的解决办法
- SqlServer2005 恢复数据库时出现Exclusive access could not be obtained because the database is in use 的解决方法
- SqlServer2005 恢复数据库时出现Exclusive access could not be obtained because the database is in use 的解决方法
- SqlServer2005 恢复数据库时出现Exclusive access could not be obtained because the database is in use 的解决方法
- Mysql 出现错误The server is not configured as slave; fix in config file or with CHANGE MASTER TO
- I Could Be The One
- I could be the one!
- The remote name could not be resolved问题的解决方法
- 打印出现:Could not load the "" image referenced from a nib in the bundle with identifier
- share a song :i could be the one~~
- appears more than once in the keychain The codesign tool requires there only be one
- 运行jar文件时,出现“could not find the main class”的解决方法
- A server with the specified hostname could not be found.
- IIS不能访问,出现The specified module could not be found问题 解决方法
- 解决yum升级的问题“There was a problem importing one of the Python modules”
- IIS出现The specified module could not be found解决方法
- IIS出现The specified module could not be found解决方法
- Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6_6.5.x86_64
- 开源框架之Android 最火的快速开发框架XUtils
- 最大熵理论及其应用
- sublime text前端常用插件
- WebShop简介
- Hbase运行时出现的问题(There could be a mismatch with the one configured in the master.)及其解决方法:
- jQuery Deferred
- iOS 富文本 AttributedString
- NFTL(nand硬件翻译层)+ FAT 的应用
- Android全屏(包含3种隐藏顶部状态栏及标题栏和一种隐藏Android 4.0平板底部状态栏的方法)
- hbase数据库---slf4j-log4j12-1.6.4.jar包冲突
- OC-集合对象NSSet基本使用和方法介绍
- (算计设计技巧与分析)Permutations2
- MFC加载图片 使用CImage类