在使用 hbase shell 时,一直报错。花了半个多小时解决这个问题。解决如下:
1. 格式化hdfs 进入hadoop/bin 目录下 : ./hadoop namenode -format
2. 启动 hadoop
3. 启动 zookeeper
4. 启动 hbase
5. 进入hbase shell 成功
截图:
在使用 hbase shell 时,一直报错。花了半个多小时解决这个问题。解决如下:
1. 格式化hdfs 进入hadoop/bin 目录下 : ./hadoop namenode -format
2. 启动 hadoop
3. 启动 zookeeper
4. 启动 hbase
5. 进入hbase shell 成功
截图: