[ https://issues.apache.org/jira/browse/HDFS-5873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haohui Mai updated HDFS-5873: ----------------------------- Attachment: HDFS-5873.002.patch The v2 patch adds a unit test to cover the precedence. > 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, 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)