sudo -s
/vagrant/scripts/start-hadoop.sh
nohup hive --service metastore < /dev/null > /usr/local/hive/logs/hive_metastore_date +"%Y%m%d%H%M%S"
.log 2>&1 </dev/null &
nohup hive --service hiveserver2 < /dev/null > /usr/local/hive/logs/hive_server2_date +"%Y%m%d%H%M%S"
.log 2>&1 </dev/null &
/usr/local/spark/sbin/start-history-server.sh
/usr/local/confluent/bin/zookeeper-server-start /usr/local/confluent/etc/kafka/zookeeper.properties & /usr/local/confluent/bin/kafka-server-start /usr/local/confluent/etc/kafka/server.properties & /usr/local/confluent/bin/schema-registry-start /usr/local/confluent/etc/schema-registry/schema-registry.properties &
/usr/local/zeppelin/bin/zeppelin-daemon.sh start &
service mesos-master start service mesos-slave start
export PATH=$PATH:/usr/local/cassandra/bin cp /vagrant/resources/cassandra/cassandra.yaml /usr/local/cassandra/conf/ cassandra -R &
/usr/local/confluent/bin/kafka-topics --zookeeper 192.168.0.50:2181 --create --topic jsonLog --partitions 1 --replication-factor 1
curl -X GET -i http://192.168.0.50:8081/subjects
curl -X GET -i http://192.168.0.50:8081/subjects/clicklog-value/versions/1
curl -X GET http://192.168.0.50:8081/config
curl -X PUT -i -H "Content-Type: application/vnd.schemaregistry.v1+json" --data '{"compatibility": "NONE"}' http://192.168.0.50:8081/config