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/05/14 16:37:00 UTC

[jira] [Resolved] (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 resolved HDDS-3453.
------------------------------
    Fix Version/s: 0.6.0
       Resolution: Fixed

Thanks all for the reviews and discussions. I've merged the PR to master. 

> 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
>              Labels: pull-request-available
>             Fix For: 0.6.0
>
>
> 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