This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker cp create_table.sh hbase1:/ | |
Login inside container and run create_tbl.sh script | |
docker exec -it hbase1 bash; | |
/create_tbl.sh | |
or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
TSDB_TABLE=${TSDB_TABLE-'tsdb'} | |
UID_TABLE=${UID_TABLE-'tsdb-uid'} | |
TREE_TABLE=${TREE_TABLE-'tsdb-tree'} | |
META_TABLE=${META_TABLE-'tsdb-meta'} | |
BLOOMFILTER=${BLOOMFILTER-'ROW'} | |
COMPRESSION='GZ' | |
exec "hbase" shell <<EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tsd.core.auto_create_metrics = true | |
tsd.core.auto_create_tagks = true | |
tsd.core.auto_create_tagvs = true | |
tsd.core.meta.enable_realtime_ts = false | |
tsd.core.meta.enable_realtime_uid = false | |
tsd.core.meta.enable_tsuid_incrementing = false | |
tsd.core.meta.enable_tsuid_tracking = false | |
tsd.core.plugin_path = | |
tsd.core.preload_uid_cache = false | |
tsd.core.preload_uid_cache.max_entries = 300000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -dit --name opentsdb -p 4242:4242 -v /root/hadoop/opentsdb.conf:/etc/opentsdb.conf --network generic-class-net -h opentsdb petergrace/opentsdb-docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<configuration> | |
<property> | |
<name>hbase.cluster.distributed</name> | |
<value>true</value> | |
</property> | |
<property> | |
<name>hbase.rootdir</name> | |
<value>hdfs://namenode:8020/hbase</value> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -dit --name hbase3 -p 8080:8080 -p 8085:8085 -p 9090:9090 -p 9095:9095 -p 16000:16000 -p 16010:16010 -p 16201:16201 -p 16301:16301 -v /root/hadoop/hbase-site.xml:/hbase-1.2.6/conf/hbase-site.xml --env-file hbase_env --network generic-class-net | |
-h hbase3.generic-class-net harisekhon/hbase:1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -dit --name hbase2 -p 8080:8080 -p 8085:8085 -p 9090:9090 -p 9095:9095 -p 16000:16000 -p 16010:16010 -p 16201:16201 -p 16301:16301 -v /root/hadoop/hbase-site.xml:/hbase-1.2.6/conf/hbase-site.xml --env-file hbase_env --network generic-class-net | |
-h hbase2.generic-class-net harisekhon/hbase:1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -dit --name hbase1 -p 8080:8080 -p 8085:8085 -p 9090:9090 -p 9095:9095 -p 16000:16000 -p 16010:16010 -p 16201:16201 -p 16301:16301 -v /root/hadoop/hbase-site.xml:/hbase-1.2.6/conf/hbase-site.xml --env-file hbase_env --network generic-class-net | |
-h hbase1.generic-class-net harisekhon/hbase:1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
zoo2: | |
image: zookeeper:latest | |
restart: always | |
hostname: zoo2 | |
ports: | |
- 2181:2181 | |
- 2888:2888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
zoo2: | |
image: zookeeper:latest | |
restart: always | |
hostname: zoo2 | |
ports: | |
- 2181:2181 | |
- 2888:2888 |
NewerOlder