[
https://issues.apache.org/jira/browse/HDFS-4553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daryn Sharp updated HDFS-4553:
------------------------------
Attachment: HDFS-4553.branch-23.patch
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.
> Webhdfs will NPE on some unexpected response codes
> --------------------------------------------------
>
> Key: HDFS-4553
> URL: https://issues.apache.org/jira/browse/HDFS-4553
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Affects Versions: 0.23.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Attachments: HDFS-4553.branch-23.patch
>
>
> Webhdfs will NPE in {{validateResponse}} if an expected response code is
> received w/o a json payload containing the exception.
--
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