[MINOR] Reformat prepare_integration_suite script (#2126)
This commit is contained in:
@@ -36,29 +36,29 @@ usage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_spark_command() {
|
get_spark_command() {
|
||||||
if [ -z "$scala" ]
|
if [ -z "$scala" ]
|
||||||
then
|
then
|
||||||
scala="2.11"
|
scala="2.11"
|
||||||
else
|
else
|
||||||
scala=$scala
|
scala=$scala
|
||||||
fi
|
fi
|
||||||
echo "spark-submit --packages org.apache.spark:spark-avro_${scala}:2.4.4 \
|
echo "spark-submit --packages org.apache.spark:spark-avro_${scala}:2.4.4 \
|
||||||
--master $0 \
|
--master $0 \
|
||||||
--deploy-mode $1 \
|
--deploy-mode $1 \
|
||||||
--properties-file $2 \
|
--properties-file $2 \
|
||||||
--class org.apache.hudi.integ.testsuite.HoodieTestSuiteJob \
|
--class org.apache.hudi.integ.testsuite.HoodieTestSuiteJob \
|
||||||
`ls target/hudi-integ-test-*-SNAPSHOT.jar` \
|
`ls target/hudi-integ-test-*-SNAPSHOT.jar` \
|
||||||
--source-class $3 \
|
--source-class $3 \
|
||||||
--source-ordering-field $4 \
|
--source-ordering-field $4 \
|
||||||
--input-base-path $5 \
|
--input-base-path $5 \
|
||||||
--target-base-path $6 \
|
--target-base-path $6 \
|
||||||
--target-table $7 \
|
--target-table $7 \
|
||||||
--props $8 \
|
--props $8 \
|
||||||
--storage-type $9 \
|
--storage-type $9 \
|
||||||
--payload-class "${10}" \
|
--payload-class "${10}" \
|
||||||
--workload-yaml-path "${11}" \
|
--workload-yaml-path "${11}" \
|
||||||
--input-file-size "${12}" \
|
--input-file-size "${12}" \
|
||||||
--<use-deltastreamer>"
|
--<use-deltastreamer>"
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|||||||
Reference in New Issue
Block a user