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

SetTimes to throw FileNotFoundException if inode is not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.4.0
    • hdfs

    Description

      2019-05-31 15:15:42,397 ERROR namenode.FSEditLogLoader: Encountered exception on operation TimesOp [length=0, path=/testLoadSpace/dir0/dir0/dir0/dir2/_file_9096763, mtime=-1, atime=1559294343288, opCode=OP_TIMES, txid=18927893]
      java.lang.NullPointerException
      at org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.unprotectedSetTimes(FSDirAttrOp.java:490)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.applyEditLogOp(FSEditLogLoader.java:711)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:286)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:181)
      at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:924)
      at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:771)
      at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:331)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1105)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:726)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.doRecovery(NameNode.java:1558)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1640)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1725)

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              Harsha1206 Harshakiran Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              8 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 - 1h 10m
                  1h 10m