[
https://issues.apache.org/jira/browse/HDFS-5873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889950#comment-13889950
]
Jing Zhao commented on HDFS-5873:
---------------------------------
Or we can throw some exception when we start the NN/DN? This looks more like
some conflicts in the 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
>
> 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)