[
https://issues.apache.org/jira/browse/HDFS-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715260#comment-13715260
]
Suresh Srinivas commented on HDFS-5008:
---------------------------------------
+1 for the patch. Jing, could you also please commit this to 2.1.0-beta?
> Make ClientProtocol#abandonBlock() idempotent
> ---------------------------------------------
>
> Key: HDFS-5008
> URL: https://issues.apache.org/jira/browse/HDFS-5008
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 3.0.0
> Reporter: Suresh Srinivas
> Assignee: Jing Zhao
> Attachments: HDFS-5008.001.patch, HDFS-5008.002.patch
>
>
> Currently when abandonBlock is called, if the block does not exist, then the
> namenode throws an exception. I propose making it idempotent, by returning
> success if the block that is being abandoned does not exist.
> Thoughts?
--
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