diff --git a/examples/bin/ec2/env.sh b/examples/bin/ec2/env.sh deleted file mode 100644 index a0a05719df1..00000000000 --- a/examples/bin/ec2/env.sh +++ /dev/null @@ -1,27 +0,0 @@ -# Setup Oracle Java -sudo apt-get update -sudo add-apt-repository -y ppa:webupd8team/java -sudo apt-get update - -# Setup yes answer to license question -echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections -echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections -sudo apt-get -y -q install oracle-java7-installer - -# Automated Kafka setup -curl http://static.druid.io/artifacts/kafka-0.7.2-incubating-bin.tar.gz -o /tmp/kafka-0.7.2-incubating-bin.tar.gz -tar -xvzf /tmp/kafka-0.7.2-incubating-bin.tar.gz -cd kafka-0.7.2-incubating-bin -cat config/zookeeper.properties -nohup bin/zookeeper-server-start.sh config/zookeeper.properties 2>&1 > /dev/null & -# in a new console -nohup bin/kafka-server-start.sh config/server.properties 2>&1 > /dev/null & - -# Install dependencies - mysql must be built from source, as the 12.04 apt-get hangs -export DEBIAN_FRONTEND=noninteractive -sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password password diurd' -sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password_again password diurd' -sudo apt-get -q -y -V --force-yes --reinstall install mysql-server-5.5 - -echo "ALL DONE with druid environment setup! Hit CTRL-C to proceed." -exit 0 diff --git a/examples/bin/ec2/run.sh b/examples/bin/ec2/run.sh deleted file mode 100644 index 8b20ba575a5..00000000000 --- a/examples/bin/ec2/run.sh +++ /dev/null @@ -1,24 +0,0 @@ -#WTF is this?? -- FJ - -# Is localhost expected with multi-node? -mysql -u root -pdiurd -e "GRANT ALL ON druid.* TO 'druid'@'localhost' IDENTIFIED BY 'diurd'; CREATE database druid;" 2>&1 > /dev/null - -tar -xvzf druid-services-*-bin.tar.gz 2>&1 > /dev/null -cd druid-services-* 2>&1 > /dev/null - -mkdir logs 2>&1 > /dev/null - -# Now start a realtime node -nohup java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Ddruid.realtime.specFile=config/realtime/realtime.spec -classpath lib/druid-services-0.5.5-SNAPSHOT-selfcontained.jar:config/realtime io.druid.cli.Main server realtime 2>&1 > logs/realtime.log & - -# And a coordinator node -nohup java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/druid-services-0.5.5-SNAPSHOT-selfcontained.jar:config/coordinator io.druid.cli.Main server coordinator 2>&1 > logs/coordinator.log & - -# And a historical node -nohup java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/druid-services-0.5.5-SNAPSHOT-selfcontained.jar:config/historical io.druid.cli.Main server historical 2>&1 > logs/historical.log & - -# And a broker node -nohup java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/druid-services-0.5.5-SNAPSHOT-selfcontained.jar:config/broker io.druid.cli.Main server broker 2>&1 > logs/broker.log & - -echo "Hit CTRL-C to continue..." -exit 0