[
https://issues.apache.org/jira/browse/HDFS-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-5118:
----------------------------
Attachment: HDFS-5118.001.patch
Thanks for the comments, Suresh! Upload a new patch for review.
In the new patch I just moved the DummyRetryInvocationHandler definition to
DFSTestUtil, and in Hdfs and DistributedFileSystem, the DFSClient instance is
now created based on the configuration about whether we want to proactively
drop responses.
I will tested in my local cluster and see if I can add a unit test for this.
> Extend LoadGenerator for testing NameNode retry cache
> -----------------------------------------------------
>
> Key: HDFS-5118
> URL: https://issues.apache.org/jira/browse/HDFS-5118
> Project: Hadoop HDFS
> Issue Type: New Feature
> Affects Versions: 3.0.0
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-5118.000.patch, HDFS-5118.001.patch
>
>
> We plan to extend the current LoadGenerator so that the client is able to
> intentionally drop responses of NameNode RPC calls according to settings in
> configuration. In this way we can do better system test for NameNode retry
> cache, especially when NN failover happens.
--
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