首页 > 数据库技术 > 详细

opentsdb basic install

时间:2016-10-02 10:55:15      阅读:259      评论:0      收藏:0      [点我收藏+]

git clone git://github.com/OpenTSDB/opentsdb.git
cd opentsdb
./build.sh

env COMPRESSION=NONE HBASE_HOME=/data/hbase123 ./src/create_table.sh
在生产环境中,最好设定一种压缩格式,如LZO,GZIP,SNAPPY。
./src/opentsdb.conf
tsd.http.cachedir - Path to write temporary files to
tsd.http.staticroot - Path to the static GUI files found in ./build/staticroot
tsd.storage.hbase.zk_quorum - If HBase and Zookeeper are not running on the same machine, specify the host and port here.

从SRC复制一份opentsdb.conf到build目录下,然后编缉配置以上三个项即可。
tsdtmp=${TMPDIR-‘/tmp‘}/tsd    # For best performance, make sure
mkdir -p "$tsdtmp"             # your temporary directory uses tmpfs
./build/tsdb tsd --port=4242

The Cache Directory stores temporary files generated when a graph is requested via the built-in GUI. These files should be purged periodically to free up space. OpenTSDB doesn‘t clean up after itself at this time but there is a script that should be run as a cron at least once a day located at tools/clean_cache.sh.

opentsdb basic install

原文:http://www.cnblogs.com/huaxiaoyao/p/5927246.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!