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

Jing Zhao updated HDFS-5536:
----------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
     Release Note: 
Add new HTTP policy configuration. Users can use "dfs.http.policy" to control 
the HTTP endpoints for NameNode and DataNode. Specifically, The following 
values are supported:
- HTTP_ONLY : Service is provided only on http
- HTTPS_ONLY : Service is provided only on https
- HTTP_AND_HTTPS : Service is provided both on http and https

hadoop.ssl.enabled and dfs.https.enabled are deprecated. When the deprecated 
configuration properties are still configured, currently http policy is decided 
based on the following rules:
1. If dfs.http.policy is set to HTTPS_ONLY or HTTP_AND_HTTPS. It picks the 
specified policy, otherwise it proceeds to 2~4.
2. It picks HTTPS_ONLY if hadoop.ssl.enabled equals to true.
3. It picks HTTP_AND_HTTPS if dfs.https.enable equals to true.
4. It picks HTTP_ONLY for other configurations.
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've committed this to trunk. Thanks Haohui!

> Implement HTTP policy for Namenode and DataNode
> -----------------------------------------------
>
>                 Key: HDFS-5536
>                 URL: https://issues.apache.org/jira/browse/HDFS-5536
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>             Fix For: 3.0.0
>
>         Attachments: HDFS-5536.000.patch, HDFS-5536.001.patch, 
> HDFS-5536.002.patch, HDFS-5536.003.patch, HDFS-5536.004.patch, 
> HDFS-5536.005.patch, HDFS-5536.006.patch, HDFS-5536.007.patch, 
> HDFS-5536.008.patch, HDFS-5536.009.patch, HDFS-5536.010.patch
>
>
> this jira implements the http and https policy in the namenode and the 
> datanode.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to