diff --git a/.github/workflows/spark-integration-tests.yml b/.github/workflows/spark-integration-tests.yml index 700d8e134..5292e53a1 100644 --- a/.github/workflows/spark-integration-tests.yml +++ b/.github/workflows/spark-integration-tests.yml @@ -36,6 +36,25 @@ jobs: distribution: 'temurin' cache: maven + - name: Build SeaweedFS Java dependencies + run: | + echo "Building Java client (required by HDFS clients)..." + cd other/java/client + mvn clean install -DskipTests -Dgpg.skip=true + echo "✓ Java client built and installed to local Maven repo" + cd ../../.. + + echo "Building HDFS2 client (depends on Java client)..." + cd other/java/hdfs2 + mvn clean install -DskipTests -Dgpg.skip=true + echo "✓ HDFS2 client built" + cd ../../.. + + echo "Building HDFS3 client (depends on Java client)..." + cd other/java/hdfs3 + mvn clean install -DskipTests -Dgpg.skip=true + echo "✓ HDFS3 client built" + - name: Start SeaweedFS services working-directory: test/java/spark run: |