1
0

[HUDI-3118] Add default HUDI_DIR in setupKafka.sh (#4460)

This commit is contained in:
Thinking Chen
2022-01-07 07:46:51 +08:00
committed by GitHub
parent f0c2912d35
commit d7afc58d0c

View File

@@ -48,6 +48,10 @@ if [ $# -lt 1 ]; then
exit 0
fi
if [ ! $HUDI_DIR ]; then
export HUDI_DIR=$(dirname "$(dirname $PWD)")
fi
## defaults
rawDataFile=${HUDI_DIR}/docker/demo/data/batch_1.json
kafkaBrokerHostname=localhost