[HUDI-3118] Add default HUDI_DIR in setupKafka.sh (#4460)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user