Skip to content

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.

add debug

Chris Lu091f6297c4b3
diff --git a/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java b/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java
index a399fba137..41e2e9fca1 100644
--- a/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java
+++ b/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java
@@ -95,12 +95,13 @@ public class SeaweedFileSystemStore {
}
public FileStatus getFileStatus(final Path path) {
- LOG.debug("doGetFileStatus path: {}", path);
FilerProto.Entry entry = lookupEntry(path);
if (entry == null) {
return null;
}
+ LOG.debug("doGetFileStatus path:{} entry:{}", path, entry);
+
FileStatus fileStatus = doGetFileStatus(path, entry);
return fileStatus;
}