Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Scenario
- Started pipeline with DN1->DN2->DN3
- DN1 is re-reg and update pipeline is called
- Update pipeline will success with DN1->DN3->DN4
- Again update pipeline is called,which will fail with NPE.
In step3 updatepipeline will set the storages as null since DN1 re-reg(which will remove and add the storages)
FSNamesystem#updatePipelineInternal
lastBlock.getUnderConstructionFeature().setExpectedLocations(lastBlock, storages, lastBlock.getBlockType())
Attachments
Attachments
Issue Links
- breaks
-
HDFS-12364 [branch-2.8.2] Fix the Compile Error after HDFS-12299
- Resolved
- is related to
-
HDFS-13486 Backport HDFS-11817 (A faulty node can cause a lease leak and NPE on accessing data) to branch-2.7
- Resolved