帮助:org.apache.hadoop.hbase.MasterNotRunningException 12.34.56.78:60000
我正在编写一个小型 Java 应用程序来连接到 HBase 节点。 ZooKeeper连接成功,但后来,我系统地收到以下错误(当然我已经更改了我的IP地址):
org.apache.hadoop.hbase.MasterNotRunningException 12.34.56.78:60000
有谁知道发生了什么以及如何解决这个问题?
谢谢!
I am writting a small Java application to connect to a HBase node. The ZooKeeper connection is successful, but later, I systematically get the following error (I have changed my IP address of course):
org.apache.hadoop.hbase.MasterNotRunningException 12.34.56.78:60000
Does anyone know what is happening and how to solve this issue?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,解决了这个问题。在有人自杀之前... ->该问题是由中央maven存储库中可用的HBase.jar版本(当前为0.90.xx)与Cloudera的CDH3安装包(0.89.xx)使用的版本不匹配引起的。
主要问题是 Cloudera 编译了自己的 Hbase.jar,而这些文件无法从中央存储库中获得。但是,Cloudera 可以从以下位置获取它们:
要查找应用程序所需的 HBase 版本,请打开 http://your .node.ip.地址:60010。对于 CDH3Beta3,它是 0.89.20100924-28。然后,将其作为依赖项添加到您的 pom.xml 中:
Et voila!
Ok, solved that issue. Before someone commits suicide... -> the problem is caused by a mismatch between the HBase.jar versions available in the central maven repository (currently 0.90.xx) and those used by Cloudera's CDH3 installation package (0.89.xx).
The main issue is that Cloudera compiles its own Hbase.jar and these are not available from the central repository. But, Cloudera makes them available from:
To find the HBase version you need for your application, open http://your.node.ip.address:60010. For CDH3Beta3, it is 0.89.20100924-28. Then, add it in your pom.xml as a dependency:
Et voila!