You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Íñigo Goiri (Jira)" <ji...@apache.org> on 2020/09/03 22:55:00 UTC
[jira] [Assigned] (HDFS-15557) Log the reason why a file can't be
deleted
[ https://issues.apache.org/jira/browse/HDFS-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Íñigo Goiri reassigned HDFS-15557:
----------------------------------
Assignee: Ye Ni
> 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
> Assignee: Ye Ni
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> 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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org