Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Duplicate
-
2.3.0
-
None
-
None
-
None
Description
While running branch-2.4, the LeaseManager crashed with an NPE. This does not always happen on block recovery.
Exception in thread
"org.apache.hadoop.hdfs.server.namenode.LeaseManager$Monitor@5d66b728"
java.lang.NullPointerException
at org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoUnderConstruction$
ReplicaUnderConstruction.isAlive(BlockInfoUnderConstruction.java:121)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoUnderConstruction.
initializeBlockRecovery(BlockInfoUnderConstruction.java:286)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.internalReleaseLease(FSNamesystem.java:3746)
at org.apache.hadoop.hdfs.server.namenode.LeaseManager.checkLeases(LeaseManager.java:474)
at org.apache.hadoop.hdfs.server.namenode.LeaseManager.access$900(LeaseManager.java:68)
at org.apache.hadoop.hdfs.server.namenode.LeaseManager$Monitor.run(LeaseManager.java:411)
at java.lang.Thread.run(Thread.java:722)
Attachments
Issue Links
- is duplicated by
-
HDFS-6094 The same block can be counted twice towards safe mode threshold
- Closed