Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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)