[
https://issues.apache.org/jira/browse/HDFS-6331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988582#comment-13988582
]
Yi Liu commented on HDFS-6331:
------------------------------
Andrew and Uma, Very appreciate, it's problem:)
Orginally we did blind write with no flags, we did not need to consider retry
cache. Later we added flags support but missed to reconsider that part. You are
right, retry cahce is must to have.
> ClientProtocol#setXattr should not be annotated idempotent
> ----------------------------------------------------------
>
> Key: HDFS-6331
> URL: https://issues.apache.org/jira/browse/HDFS-6331
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: HDFS XAttrs (HDFS-2006)
> Reporter: Andrew Wang
> Attachments: HDFS-6331.patch
>
>
> ClientProtocol#setXAttr is annotated @Idempotent, but this is incorrect since
> subsequent retries need to throw different exceptions based on the passed
> flags (e.g. CREATE, REPLACE).
--
This message was sent by Atlassian JIRA
(v6.2#6252)