Daryn Sharp
added a comment - 05/Mar/13 16:18 Issue already fixed on trunk via HDFS-3667 that added retry support to webhdfs. The fix was extraneous to the retry changes, so I've extracted the couple of relevant lines.
No test is included. It's a simple change, HDFS-3667 included no test, and it sure doesn't look simple to test.
I have manually verified it on a secure cluster. The issue was originally uncovered by a 401 Unauthorized response. It now handles that case correctly.