SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix java ssl context loading
chrislu70fc8d06f342
diff --git a/other/java/client/src/main/java/seaweedfs/client/FilerSslContext.java b/other/java/client/src/main/java/seaweedfs/client/FilerSslContext.javaindex 5a88c1da34..520adfd389 100644--- a/other/java/client/src/main/java/seaweedfs/client/FilerSslContext.java+++ b/other/java/client/src/main/java/seaweedfs/client/FilerSslContext.java@@ -21,7 +21,7 @@ public class FilerSslContext {String home = System.getProperty("user.home");File f1 = new File("./"+securityFileName);File f2 = new File(home + "/.seaweedfs/"+securityFileName);- File f3 = new File(home + "/etc/seaweedfs/"+securityFileName);+ File f3 = new File("/etc/seaweedfs/"+securityFileName);File securityFile = f1.exists()? f1 : f2.exists() ? f2 : f3.exists()? f3 : null;