Browse Source

add debug

pull/781/head
Chris Lu 6 years ago
parent
commit
091f6297c4
  1. 3
      other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java

3
other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java

@ -95,12 +95,13 @@ public class SeaweedFileSystemStore {
} }
public FileStatus getFileStatus(final Path path) { public FileStatus getFileStatus(final Path path) {
LOG.debug("doGetFileStatus path: {}", path);
FilerProto.Entry entry = lookupEntry(path); FilerProto.Entry entry = lookupEntry(path);
if (entry == null) { if (entry == null) {
return null; return null;
} }
LOG.debug("doGetFileStatus path:{} entry:{}", path, entry);
FileStatus fileStatus = doGetFileStatus(path, entry); FileStatus fileStatus = doGetFileStatus(path, entry);
return fileStatus; return fileStatus;
} }

Loading…
Cancel
Save