Xiaoyu Yao created HDDS-3453:
--------------------------------
Summary: Use UrlConnectionFactory to handle HTTP Client SPNEGO for
ozone components
Key: HDDS-3453
URL: https://issues.apache.org/jira/browse/HDDS-3453
Project: Hadoop Distributed Data Store
Issue Type: Bug
Affects Versions: 0.5.0
Reporter: Xiaoyu Yao
Assignee: Prashant Pogde
Some of the places that need to be fixed, otherwise those http client won't be
able to access the endpoints when SPNEGO is enabled on the server side.
ReconUtils#makeHttpCall
OzoneManagerSnapshotProvider#getOzoneManagerDBSnapshot
The right API to use should be URLConnectionFactory
public URLConnection openConnection(URL url, boolean isSpnego)
The isSpnego should be based on OzoneSecurityUtil.isHttpSecurityEnabled()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]