From a424878e0e67f805de36f76d73fd51386c43b12d Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Thu, 16 Sep 2021 09:58:28 -0700 Subject: [PATCH] HADOOP-17891. Fix compilation error under skipShade (ADDENDUM) (#3441) --- dev-support/bin/hadoop.sh | 2 +- .../hadoop-client-integration-tests/pom.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-support/bin/hadoop.sh b/dev-support/bin/hadoop.sh index e05551973e..763b0507e4 100755 --- a/dev-support/bin/hadoop.sh +++ b/dev-support/bin/hadoop.sh @@ -558,7 +558,7 @@ function shadedclient_rebuild echo_and_redirect "${logfile}" \ "${MAVEN}" "${MAVEN_ARGS[@]}" verify -fae --batch-mode -am \ "${modules[@]}" \ - -Pnoshade -Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true + -DskipShade -Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true count=$("${GREP}" -c '\[ERROR\]' "${logfile}") if [[ ${count} -gt 0 ]]; then diff --git a/hadoop-client-modules/hadoop-client-integration-tests/pom.xml b/hadoop-client-modules/hadoop-client-integration-tests/pom.xml index 960421b037..967782163f 100644 --- a/hadoop-client-modules/hadoop-client-integration-tests/pom.xml +++ b/hadoop-client-modules/hadoop-client-integration-tests/pom.xml @@ -191,6 +191,12 @@ test test-jar + + org.apache.hadoop + hadoop-common + test + test-jar +