#!/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 -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;