diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf180b15001..2947def227d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -222,7 +222,7 @@ jobs: distribution: 'temurin' java-version: ${{ matrix.java }} - name: Compile Ozone using Java ${{ matrix.java }} - run: hadoop-ozone/dev-support/checks/build.sh -Pdist -Dskip.npx -Dskip.installnpx -Dmaven.javadoc.failOnWarnings=${{ matrix.java != 8 }} -Djavac.version=${{ matrix.java }} ${{ inputs.ratis_args }} + run: hadoop-ozone/dev-support/checks/build.sh -Pdist -DskipRecon -Dmaven.javadoc.failOnWarnings=${{ matrix.java != 8 }} -Djavac.version=${{ matrix.java }} ${{ inputs.ratis_args }} env: OZONE_WITH_COVERAGE: false DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} diff --git a/.github/workflows/intermittent-test-check.yml b/.github/workflows/intermittent-test-check.yml index 33a1ee2c6e1..cb765f36217 100644 --- a/.github/workflows/intermittent-test-check.yml +++ b/.github/workflows/intermittent-test-check.yml @@ -115,7 +115,7 @@ jobs: java-version: 8 - name: Build (most) of Ozone run: | - args="-Dskip.npx -Dskip.installnpx -DskipShade -Dmaven.javadoc.skip=true" + args="-DskipRecon -DskipShade -Dmaven.javadoc.skip=true" if [[ "${{ github.event.inputs.ratis-ref }}" != "" ]]; then args="$args -Dratis.version=${{ needs.ratis.outputs.ratis-version }}" args="$args -Dratis.thirdparty.version=${{ needs.ratis.outputs.thirdparty-version }}" diff --git a/hadoop-ozone/dev-support/checks/checkstyle.sh b/hadoop-ozone/dev-support/checks/checkstyle.sh index 18ae3905975..edab230766c 100755 --- a/hadoop-ozone/dev-support/checks/checkstyle.sh +++ b/hadoop-ozone/dev-support/checks/checkstyle.sh @@ -24,7 +24,7 @@ REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/checkstyle"} mkdir -p "$REPORT_DIR" REPORT_FILE="$REPORT_DIR/summary.txt" -MAVEN_OPTIONS='-B -fae -Dskip.npx -Dskip.installnpx -Dcheckstyle.failOnViolation=false --no-transfer-progress' +MAVEN_OPTIONS='-B -fae -DskipRecon -Dcheckstyle.failOnViolation=false --no-transfer-progress' declare -i rc mvn ${MAVEN_OPTIONS} checkstyle:check > "${REPORT_DIR}/output.log" diff --git a/hadoop-ozone/dev-support/checks/findbugs.sh b/hadoop-ozone/dev-support/checks/findbugs.sh index 8c61c524a9e..95555c177f1 100755 --- a/hadoop-ozone/dev-support/checks/findbugs.sh +++ b/hadoop-ozone/dev-support/checks/findbugs.sh @@ -25,7 +25,7 @@ source "${DIR}/_lib.sh" install_spotbugs -MAVEN_OPTIONS='-B -fae -Dskip.npx -Dskip.installnpx --no-transfer-progress' +MAVEN_OPTIONS='-B -fae -DskipRecon --no-transfer-progress' if [[ "${OZONE_WITH_COVERAGE}" != "true" ]]; then MAVEN_OPTIONS="${MAVEN_OPTIONS} -Djacoco.skip" diff --git a/hadoop-ozone/dev-support/checks/junit.sh b/hadoop-ozone/dev-support/checks/junit.sh index f0002d4eedc..fa3c219c960 100755 --- a/hadoop-ozone/dev-support/checks/junit.sh +++ b/hadoop-ozone/dev-support/checks/junit.sh @@ -31,7 +31,7 @@ if [[ ${ITERATIONS} -le 0 ]]; then fi export MAVEN_OPTS="-Xmx4096m ${MAVEN_OPTS:-}" -MAVEN_OPTIONS="-B -V -Dskip.npx -Dskip.installnpx -Dnative.lib.tmp.dir=/tmp --no-transfer-progress" +MAVEN_OPTIONS="-B -V -DskipRecon -Dnative.lib.tmp.dir=/tmp --no-transfer-progress" if [[ "${OZONE_WITH_COVERAGE}" != "true" ]]; then MAVEN_OPTIONS="${MAVEN_OPTIONS} -Djacoco.skip" diff --git a/hadoop-ozone/dev-support/checks/license.sh b/hadoop-ozone/dev-support/checks/license.sh index 90accc85662..304b84e539e 100755 --- a/hadoop-ozone/dev-support/checks/license.sh +++ b/hadoop-ozone/dev-support/checks/license.sh @@ -42,7 +42,7 @@ DEFAULT_SRC="target/generated-sources/license/THIRD-PARTY.txt" src="${1:-${DEFAULT_SRC}}" if [[ ! -e ${src} ]]; then - MAVEN_OPTIONS="-B -fae -Dskip.npx -Dskip.installnpx --no-transfer-progress ${MAVEN_OPTIONS:-}" + MAVEN_OPTIONS="-B -fae -DskipRecon --no-transfer-progress ${MAVEN_OPTIONS:-}" mvn ${MAVEN_OPTIONS} license:aggregate-add-third-party | tee "${REPORT_DIR}/output.log" src="${DEFAULT_SRC}" fi diff --git a/hadoop-ozone/dev-support/checks/sonar.sh b/hadoop-ozone/dev-support/checks/sonar.sh index 27a971f691c..b9948a31d4e 100755 --- a/hadoop-ozone/dev-support/checks/sonar.sh +++ b/hadoop-ozone/dev-support/checks/sonar.sh @@ -24,7 +24,7 @@ if [ ! "$SONAR_TOKEN" ]; then fi -mvn -V -B -DskipShade -DskipTests -Dskip.npx -Dskip.installnpx --no-transfer-progress \ +mvn -V -B -DskipShade -DskipTests -DskipRecon --no-transfer-progress \ -Dsonar.coverage.jacoco.xmlReportPaths="$(pwd)/target/coverage/all.xml" \ -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=hadoop-ozone \ verify org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar diff --git a/hadoop-ozone/dist/pom.xml b/hadoop-ozone/dist/pom.xml index e010ecdb60f..1da959002a3 100644 --- a/hadoop-ozone/dist/pom.xml +++ b/hadoop-ozone/dist/pom.xml @@ -166,6 +166,10 @@ org.apache.ozone hdds-container-service + + org.apache.ozone + ozone-recon + org.apache.ozone ozone-s3gateway @@ -234,21 +238,6 @@ - - build-with-recon - - - !skipRecon - - - - - - org.apache.ozone - ozone-recon - - - diff --git a/hadoop-ozone/pom.xml b/hadoop-ozone/pom.xml index ed118c89472..a8b32c686a0 100644 --- a/hadoop-ozone/pom.xml +++ b/hadoop-ozone/pom.xml @@ -38,6 +38,8 @@ ozonefs-common ozonefs datanode + recon + recon-codegen s3gateway dist csi @@ -396,18 +398,6 @@ ozonefs-hadoop2 - - build-with-recon - - - !skipRecon - - - - recon - recon-codegen - - parallel-tests diff --git a/pom.xml b/pom.xml index 89a12e7083a..56ab9252aec 100644 --- a/pom.xml +++ b/pom.xml @@ -2107,12 +2107,26 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs void true - true + true true true true + + + skip-frontend + + + skipRecon + + + + true + true + + + rocks-native-tests