Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
DFSUtil#getInfoServer() returns only the authority (i.e., host+port) when searching for the http / https server. This is insufficient because HDFS-5536 and related jiras allows NN / DN / JN to open HTTPS only using the HTTPS_ONLY policy.
This JIRA addresses two issues. First, DFSUtil#getInfoServer() should return an URI instead of a string, so that the scheme is an inherent parts of the return value, which eliminates the task of figuring out the scheme by design. Second, it introduces a new function to choose whether http or https should be used to connect to the remote server based of dfs.http.policy.
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-5311 Support both HTTP and HTTPS in TransferFsImage
- Resolved
-
HDFS-5627 FSCK and checkpoint not working when kerberos security+https is enabled.
- Resolved
- is depended upon by
-
HDFS-5311 Support both HTTP and HTTPS in TransferFsImage
- Resolved
- is duplicated by
-
HDFS-5272 DFSUtil#getInfoServer cleanup
- Resolved