druid

编译

#!/bin/bash
set -e
set -x
if [[ -d output ]]
then
  rm -rf output/*
fi
mvn clean install -Pdist -DskipTests
mkdir -p output
VERSION="0.12.2"
DRUID_TAR=druid-$VERSION-bin.tar.gz
cp -r distribution/target/$DRUID_TAR output
cp -r tools output
cp -r run/* output
cd output
tar -zxf $DRUID_TAR
cp -r ../examples/conf/* druid-$VERSION
cp -r ../skywalking druid-$VERSION
cp -a ../examples/hadoop-conf-va/* druid-$VERSION/conf-dp-va/druid/_common/
cp -r ../thirdparty/hadoop/* druid-$VERSION/hadoop-dependencies/hadoop-client/2.6.0-cdh5.4.4-bd3/
rm -rf $DRUID_TAR
cd -

你可能感兴趣的:(druid)