Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS XAttrs (HDFS-2006)
    • namenode
    • None
    • Reviewed

    Description

      Should break after the removeXattr op loading.

      Otherwise fsimage loading will fail:

      java.io.IOException: Invalid operation read OP_REMOVE_XATTR
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.applyEditLogOp(FSEditLogLoader.java:816)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:227)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:136)
      at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:805)
      at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:665)
      at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:272)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:902)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:651)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:479)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:535)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:694)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:679)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1332)

      Attachments

        1. HDFS-6366.patch
          0.7 kB
          Uma Maheswara Rao G

        Activity

          People

            umamaheswararao Uma Maheswara Rao G
            umamaheswararao Uma Maheswara Rao G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: