mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-12 09:30:46 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user