启动hbase时错误信息如下:


hbase安装问题处理

 

发现是版本冲突的问题,但是我之前处理过冲突(已经做了hadoop-core-1.2.1.jar文件的覆盖),仔细看了下日志信息,原来上面还有错误信息,没有重视:



hbase安装问题处理
 
 这里就估计应该是hbase-site.xml文件中配置问题了:

<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
</configuration>

 

黑色部分改为:

<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://hadoop:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
</configuration>

下面是我的hosts文件:

 

[[email protected] conf]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.10 hadoop

 

重新启动,问题解决。

相关文章:

  • 2021-07-26
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2021-07-09
  • 2021-12-02
  • 2021-10-26
猜你喜欢
  • 2021-10-19
  • 2021-04-25
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2021-08-16
  • 2021-05-05
相关资源
相似解决方案