druid/examples/bin/init

15 lines
382 B
Plaintext
Raw Normal View History

2016-01-06 00:27:52 -05:00
#!/bin/bash -eu
gzip -c -d quickstart/wikiticker-2015-09-12-sampled.json.gz > "quickstart/wikiticker-2015-09-12-sampled.json"
LOG_DIR=var
2016-05-10 12:00:13 -04:00
mkdir log
2016-01-06 00:27:52 -05:00
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;
2016-05-10 12:00:13 -04:00
mkdir -p $LOG_DIR/druid/pids;