From 103ef9c711af42974ff80f258d5abd55427320f2 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 526b9d5a78..7835b752f9 100755 --- a/dev-support/bin/hadoop.sh +++ b/dev-support/bin/hadoop.sh @@ -557,7 +557,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 350c903ff0..d7c84e0790 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 +