Thanks Xiaobing Zhou for working on this. The patch looks good to me. One suggestion: can you add some description of the use cases that need to enable the WebHDFS retry policy in hdfs-site.xml. For example,
If "true", enable the retry policy of WebHDFS client. This can be useful when using WebHDFS to
- copy large files between clusters that could timeout or
- copy files between HA clusters that could failover during the copy.
2838 If "true", enable the retry policy of WebHDFS client.
2839 If "false", retry policy is turned off.