1、hbase.rootdir

hbase.rootdir 参数指定 HBase 的存储目录,它是 HBase 运行的必须参数,默认值为“file:///tmp/hbase”,一般情况下,我们将它设置为 HDFS 上的某个目录,比如:hdfs://localhost:9000/hbase。

2、hbase.cluster.distributed

hbase.cluster.distributed 参数用于指定 HBase 是否使用分布式模式,默认值为 true,表示 HBase 使用分布式模式,在集群上运行;如果设置为 false,表示 HBase 使用单机模式,在单台机器上运行。

3、hbase.zookeeper.quorum

hbase.zookeeper.quorum 参数指定 HBase 使用的 ZooKeeper 服务器的地址,它是 HBase 运行的必须参数,默认值为 localhost,一般情况下,我们将它设置为 ZooKeeper 服务器的地址,比如:hdfs://localhost:2181。

4、hbase.regionserver.handler.count

hbase.regionserver.handler.count 参数指定 RegionServer 提供的 HBase 处理线程数,它是 HBase 运行的可选参数,默认值为 30,一般情况下,我们根据 RegionServer 的内存大小来设置,比如:hbase.regionserver.handler.count=50。