在hbase集群上设置多个tsd

hsgswve4  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(368)

在我的hbase集群上设置多个opentsdb示例需要进行哪些配置?我想设置一些写示例和一些只读示例。
已找到此链接
https://groups.google.com/forum/#!searchin/opentsdb/多个$20tsd/opentsdb/nitknsmm7ni/o7mpzwwwshyj
但我不清楚是否所有示例都需要指向运行hmaster守护进程的单个主节点?如何在不同的示例中设置这些属性?
https://groups.google.com/forum/#!searchin/opentsdb/多个$20tsd/opentsdb/nz59\u xmarvo/\u zwzcdj0fu8j

tsd.storage.hbase.data_table
tsd.storage.hbase.uid_table
tsd.storage.hbase.zk_basedir
tsd.storage.hbase.zk_quorum
tsd.mode = rw /ro ?
guz6ccqo

guz6ccqo1#

要设置多个opentsdb示例,需要将它们全部指向hbase主机。
tsd.storage.hbase.data_table—hbase中用于存储tsdb数据的表。通常是“tsdb”。
tsd.storage.hbase.uid\u table—hbase中用于存储tsdb度量uid数据的表。通常是“tsdb uid”。
tsd.storage.hbase.zk\u basedir-zookeeper中的hbase znode。由hbase-site.xml中的属性zookeeper.znode.parent定义。默认情况下,its/hbase
tsd.storage.hbase.zk\u quorun-zookeeper仲裁中所有服务器的列表。
tsd.mode-在tsdb的所有读取示例中都设置为“ro”(只读)。默认情况下,它的“rw”(读写)。

相关问题