fix: use SNAPSHOT version to force Maven to use locally built JARs

ROOT CAUSE: Maven was downloading seaweedfs-client:3.80 from Maven Central
instead of using the locally built version in CI!

Changes:
- Changed all versions from 3.80 to 3.80.1-SNAPSHOT
- other/java/client/pom.xml: 3.80 → 3.80.1-SNAPSHOT
- other/java/hdfs2/pom.xml: property 3.80 → 3.80.1-SNAPSHOT
- other/java/hdfs3/pom.xml: property 3.80 → 3.80.1-SNAPSHOT
- test/java/spark/pom.xml: property 3.80 → 3.80.1-SNAPSHOT

Maven behavior:
- Release versions (3.80): Downloaded from remote repos if available
- SNAPSHOT versions: Prefer local builds, can be updated

This ensures the CI uses the locally built JARs with our debug logging!

Also added unique [DEBUG-2024] markers to verify in logs.
This commit is contained in:
chrislu
2025-11-23 10:17:12 -08:00
parent f20bad97e4
commit 966b053ed3
6 changed files with 7 additions and 7 deletions
@@ -191,7 +191,7 @@ public class SeaweedOutputStream extends OutputStream {
return;
}
LOG.info("close: path={} totalPosition={} buffer.position()={}", path, position, buffer.position());
LOG.info("[DEBUG-2024] close: path={} totalPosition={} buffer.position()={}", path, position, buffer.position());
try {
flushInternal();
threadExecutor.shutdown();
@@ -211,7 +211,7 @@ public class SeaweedOutputStream extends OutputStream {
private synchronized void writeCurrentBufferToService() throws IOException {
int bufferPos = buffer.position();
LOG.info("writeCurrentBufferToService: path={} buffer.position()={} totalPosition={}", path, bufferPos, position);
LOG.info("[DEBUG-2024] writeCurrentBufferToService: path={} buffer.position()={} totalPosition={}", path, bufferPos, position);
if (bufferPos == 0) {
LOG.info(" → Skipping write, buffer is empty");
return;
@@ -125,7 +125,7 @@ public class SeaweedWrite {
String etag = multipartUpload(targetUrl, auth, bytes, bytesOffset, bytesLength, cipherKey);
LOG.info("✓ Wrote chunk to {} at offset {} size {} bytes, etag: {}", targetUrl, offset, bytesLength, etag);
LOG.info("[DEBUG-2024] ✓ Wrote chunk to {} at offset {} size {} bytes, etag: {}", targetUrl, offset, bytesLength, etag);
return FilerProto.FileChunk.newBuilder()
.setFileId(fileId)