Skip to content

Instantly share code, notes, and snippets.

@rrbutani
Last active June 24, 2016 07:17
Show Gist options
  • Save rrbutani/f00615e23bb7fc04151187dcfb3b73da to your computer and use it in GitHub Desktop.
Save rrbutani/f00615e23bb7fc04151187dcfb3b73da to your computer and use it in GitHub Desktop.
#!/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