Ye Ni created HDFS-15557: ---------------------------- Summary: Log the reason why a file can't be deleted Key: HDFS-15557 URL: https://issues.apache.org/jira/browse/HDFS-15557 Project: Hadoop HDFS Issue Type: Improvement Reporter: Ye Ni
Before {code:java} 2020-09-02 06:48:31,983 WARN [IPC Server handler 206 on 8020] org.apache.hadoop.hdfs.server.common.Storage: writeTransactionIdToStorage failed on Storage Directory root= K:\data\hdfs\namenode; location= null; type= IMAGE; isShared= false; lock= sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid]; storageUuid= null java.io.IOException: Could not delete original file K:\data\hdfs\namenode\current\seen_txid{code} After {code:java} 2020-09-02 17:43:29,421 WARN [IPC Server handler 111 on 8020] org.apache.hadoop.hdfs.server.common.Storage: writeTransactionIdToStorage failed on Storage Directory root= K:\data\hdfs\namenode; location= null; type= IMAGE; isShared= false; lock= sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid]; storageUuid= null java.io.IOException: Could not delete original file K:\data\hdfs\namenode\current\seen_txid due to failure: java.nio.file.FileSystemException: K:\data\hdfs\namenode\current\seen_txid: The process cannot access the file because it is being used by another process.{code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org