You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Xiaoyu Yao (Jira)" <ji...@apache.org> on 2020/04/22 23:51:00 UTC

[jira] [Assigned] (HDDS-3453) Use UrlConnectionFactory to handle HTTP Client SPNEGO for ozone components

     [ https://issues.apache.org/jira/browse/HDDS-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoyu Yao reassigned HDDS-3453:
--------------------------------

    Assignee: Xiaoyu Yao  (was: Prashant Pogde)

> 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: Xiaoyu Yao
>            Priority: Major
>
> 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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org