[ 
https://issues.apache.org/jira/browse/HDFS-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Srinivas updated HDFS-4979:
----------------------------------

    Attachment: HDFS-4979.6.patch

I realized that ClientProtocol#mkdirs() is idempotent. It always returns true.

The new patch has the following changes:
# Addressed all the comments received so far.
# I have change create and append to cache the response, instead of trying to 
hold on to partial information and reconstruct it later. This adds needless 
complexity. Also requires complicated code to address the issue Jing brought up.

I have retryCache tests for all the methods except:
commitBlockSynchronization, saveNamespace, startCheckpoint, endCheckpoint, 
blockReceivedAndDeleted, updatePipeline. Doing unit tests would involve lot of 
coding. Given the code is similar to all the other methods and 
straight-forward, I do not intend to add specific tests. 

                
> Implement retry cache on the namenode
> -------------------------------------
>
>                 Key: HDFS-4979
>                 URL: https://issues.apache.org/jira/browse/HDFS-4979
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-4979.1.patch, HDFS-4979.2.patch, HDFS-4979.3.patch, 
> HDFS-4979.4.patch, HDFS-4979.5.patch, HDFS-4979.6.patch, HDFS-4979.patch
>
>


--
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

Reply via email to