You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2013/07/23 01:46:51 UTC
[jira] [Created] (HDFS-5020) Make
DatanodeProtocol#blockReceivedAndDeleted idempotent
Jing Zhao created HDFS-5020:
-------------------------------
Summary: Make DatanodeProtocol#blockReceivedAndDeleted idempotent
Key: HDFS-5020
URL: https://issues.apache.org/jira/browse/HDFS-5020
Project: Hadoop HDFS
Issue Type: Improvement
Affects Versions: 3.0.0
Reporter: Jing Zhao
Assignee: Jing Zhao
Currently DatanodeProtocol#blockReceivedAndDeleted is not idempotent because pending replication maps in NN only tracks the number of the pending replicas, and a retry request can cause the pending number decreased more than once. We can make blockReceivedAndDeleted idempotent by tracking corresponding datanodes in the pending replication map.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira