[
https://issues.apache.org/jira/browse/HDFS-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715356#comment-13715356
]
Jing Zhao commented on HDFS-5008:
---------------------------------
Thanks for the review, Arpit and Suresh! I will commit this to trunk, branch-2
and branch-2.1-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