[
https://issues.apache.org/jira/browse/HDFS-5873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890135#comment-13890135
]
Jing Zhao commented on HDFS-5873:
---------------------------------
The patch looks good to me. The only comment is that we may also want to update
the document of the deprecated properties to clearly state that they will be
overwritten by the new http policy configuration.
> dfs.http.policy should have higher precedence over dfs.https.enable
> -------------------------------------------------------------------
>
> Key: HDFS-5873
> URL: https://issues.apache.org/jira/browse/HDFS-5873
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Yesha Vora
> Assignee: Haohui Mai
> Attachments: HDFS-5873.000.patch
>
>
> If dfs.policy.http is defined in hdfs-site.xml, It should have higher
> precedence.
> In hdfs-site.xml, if dfs.https.enable is set to true and dfs.http.policy is
> set to HTTP_ONLY, The affecting policy should be 'HTTP_ONLY' instead
> 'HTTP_AND_HTTPS'.
> Currently with this configuration, it activates HTTP_AND_HTTPS policy.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)