Installation for HBase

Two steps to run HBase on SeaweedFS

  • Copy the seaweedfs-hadoop2-client-x.x.x.jar to ${HBASE_HOME}/lib
  • And add the following 2 properties in ${HBASE_HOME}/conf/hbase-site.xml
  1. <configuration>
  2. <property>
  3. <name>hbase.rootdir</name>
  4. <value>seaweedfs://localhost:8888/hbase</value>
  5. </property>
  6. <property>
  7. <name>fs.seaweedfs.impl</name>
  8. <value>seaweed.hdfs.SeaweedFileSystem</value>
  9. </property>
  10. </configuration>

Visit HBase Web UI at http://<hostname>:16010 to confirm that HBase is running on SeaweedFS

run HBase on SeaweedFS - 图1