Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15557

Log the reason why a storage log file can't be deleted

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • hdfs
    • Reviewed

    Description

      Before

       

      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

       

      After

       

      
      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.

      Attachments

        Issue Links

          Activity

            People

              NickyYe Ye Ni
              NickyYe Ye Ni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m