Last active
June 24, 2016 07:17
-
-
Save rrbutani/f00615e23bb7fc04151187dcfb3b73da to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash | |
# Universal: | |
cd ~/ | |
#source .bashrc | |
./install.sh 172.31.23.76 | |
# Slave: | |
##start-slave | |
#cd ~/druid/druid-0.9.0/ && bash start-historical-hadoop.sh && cd - | |
# Master: | |
##start-master | |
cd ~/druid/druid-0.9.0/ && bash start-all-hadoop.sh && cd - && cd /home/hadoop/druid/zookeeper-3.4.6/bin && ./zkServer.sh start && cd - | |
##druid-index | |
cd ~/tpch | |
curl -X 'POST' -H 'Content-Type:application/json' -d @"tpch_index_hadoop.json" "localhost":\8081/druid/indexer/v1/task; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment