[ https://issues.apache.org/jira/browse/HDFS-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated HDFS-15557: ------------------------------ Component/s: hdfs Target Version/s: 3.4.0 Affects Version/s: 3.4.0 > Log the reason why a storage log file can't be deleted > ------------------------------------------------------ > > Key: HDFS-15557 > URL: https://issues.apache.org/jira/browse/HDFS-15557 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs > Affects Versions: 3.4.0 > Reporter: Ye Ni > Assignee: Ye Ni > Priority: Minor > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 2h 50m > Remaining Estimate: 0h > > 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.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org