[ https://issues.apache.org/jira/browse/HDFS-5873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-5873: ---------------------------- Resolution: Fixed Fix Version/s: 2.3.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've committed this to trunk, branch-2 and branch-2.3. > 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 > Fix For: 2.3.0 > > Attachments: HDFS-5873.000.patch, HDFS-5873.001.patch, > HDFS-5873.002.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)