#!/bin/bash -eu gzip -c -d quickstart/wikiticker-2015-09-12-sampled.json.gz > "quickstart/wikiticker-2015-09-12-sampled.json" LOG_DIR=var mkdir log mkdir -p $LOG_DIR/tmp; mkdir -p $LOG_DIR/druid/indexing-logs; mkdir -p $LOG_DIR/druid/segments; mkdir -p $LOG_DIR/druid/segment-cache; mkdir -p $LOG_DIR/druid/task; mkdir -p $LOG_DIR/druid/hadoop-tmp; mkdir -p $LOG_DIR/druid/pids;