You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vi...@apache.org on 2020/08/26 13:08:26 UTC
[hudi] branch master updated: [HUDI-978] Specify version
information for each component separately (#1772)
This is an automated email from the ASF dual-hosted git repository.
vinoyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new dedc451 [HUDI-978] Specify version information for each component separately (#1772)
dedc451 is described below
commit dedc4517dd7014af697169130f5a72c1e90469b7
Author: hongdd <jn...@163.com>
AuthorDate: Wed Aug 26 21:08:09 2020 +0800
[HUDI-978] Specify version information for each component separately (#1772)
---
hudi-integ-test/prepare_integration_suite.sh | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/hudi-integ-test/prepare_integration_suite.sh b/hudi-integ-test/prepare_integration_suite.sh
index 06999d9..73f2316 100644
--- a/hudi-integ-test/prepare_integration_suite.sh
+++ b/hudi-integ-test/prepare_integration_suite.sh
@@ -40,7 +40,7 @@ if [ -z "$scala" ]
then
scala="2.11"
else
- scala=$1
+ scala=$scala
fi
echo "spark-submit --packages org.apache.spark:spark-avro_${scala}:2.4.4 \
--master $0 \
@@ -136,7 +136,6 @@ get_versions () {
then
base_command=$base_command
else
- hadoop=$1
base_command+=' -Dhadoop.version='$hadoop
fi
@@ -144,7 +143,6 @@ get_versions () {
then
base_command=$base_command
else
- hive=$2
base_command+=' -Dhive.version='$hive
fi
@@ -152,13 +150,12 @@ get_versions () {
then
base_command=$base_command
else
- scala=$3
base_command+=' -Dscala-'$scala
fi
echo $base_command
}
-versions=$(get_versions $hadoop $hive $scala)
+versions=$(get_versions)
final_command='mvn clean install -DskipTests '$versions
printf "Final command $final_command \n"
@@ -171,4 +168,4 @@ $move_to_root && $final_command
cd $_CALLING_DIR
printf "A sample spark command to start the integration suite \n"
-get_spark_command $scala
\ No newline at end of file
+get_spark_command
\ No newline at end of file