[ 
https://issues.apache.org/jira/browse/HDFS-15557?focusedWorklogId=478769&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-478769
 ]

ASF GitHub Bot logged work on HDFS-15557:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Sep/20 19:12
            Start Date: 03/Sep/20 19:12
    Worklog Time Spent: 10m 
      Work Description: NickyYe opened a new pull request #2274:
URL: https://github.com/apache/hadoop/pull/2274


   https://issues.apache.org/jira/browse/HDFS-15557
   
   ## NOTICE
   
   Please create an issue in ASF JIRA before opening a pull request,
   and you need to set the title of the pull request which starts with
   the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
   For more details, please see 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 478769)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Minor
>          Time Spent: 10m
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to