Vinayakumar B created HDFS-10614:
------------------------------------
Summary: Appended blocks can be closed even before IBRs from
DataNodes
Key: HDFS-10614
URL: https://issues.apache.org/jira/browse/HDFS-10614
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Vinayakumar B
Assignee: Vinayakumar B
Scenario:
1. Open the file for append()
2. Trigger append pipeline setup by adding some data.
3. Consider RECEIVING IBRs of DNs reaches NN first.
4. updatePipeline() rpc sent to namenode to update the pipeline.
5. Now, if complete() is called on the file even before closing the
pipeline, then block will be COMPLETE, even before block is actually FINALIZED
at DN side and file will be closed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]