OpenTSDB安装极简备忘
发布日期:2021-06-30 16:53:02 浏览次数:2 分类:技术文章

本文共 908 字,大约阅读时间需要 3 分钟。

1. Download

https://github.com/OpenTSDB/opentsdb/releases

2. Install Depenency: Gnuplot

yum -y install gnuplot

3. Install

rpm -ihv opentsdb-2.2.1.rpm

4. Configure

vim /etc/opentsdb/opentsdb.conf
# default value is "/hbase", change it according to your cluster configuration    tsd.storage.hbase.zk_basedir = /hbase-unsecure    # change it according to your cluster configuration    tsd.storage.hbase.zk_quorum = your-zk-server1,your-zk-server2,your-zk-server3    # not requried, it can help you insert data immediately without registering metrics first     tsd.core.auto_create_metrics = true

5. Create Log Directory

mkdir -p /var/log/opentsdbchown -R opentsdb:hadoop /var/log/opentsdb

6. Initialize Database

env COMPRESSION=NONE HBASE_HOME=/usr/hdp/current/hbase-client/ /usr/share/opentsdb/tools/create_table.sh

6. Startup

sudo -u opentsdb nohup tsdb tsd > /var/log/opentsdb/opentsdb.out &

本文原文链接: 转载请注明出处。

转载地址:https://laurence.blog.csdn.net/article/details/53726911 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:oobbs开发手记
下一篇:JSP中的相对路径和绝对路径

发表评论

最新留言

关注你微信了!
[***.104.42.241]2024年04月10日 17时50分56秒