[
https://issues.apache.org/jira/browse/HDFS-5876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891061#comment-13891061
]
Haohui Mai commented on HDFS-5876:
----------------------------------
I've started the DN in secure mode, and I've specified dfs.http.policy in
hdfs-site.xml.
The DN successfully picked up the configuration and worked as expected.
> SecureDataNodeStarter does not pick up configuration in hdfs-site.xml
> ---------------------------------------------------------------------
>
> Key: HDFS-5876
> URL: https://issues.apache.org/jira/browse/HDFS-5876
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-5876.000.patch
>
>
> The current implementation of {{SecureDataNodeStarter}} does not guarantee
> that configuration in hdfs-site.xml is picked up.
> The configuration in hdfs-site.xml will be only picked up when the JVM loads
> the {{HdfsConfiguration}} class. The {{HdfsConfiguration}} class might remain
> uninitialized when {{SecureDataNodeStarter}} starts to run. As a result,
> configuration like {{dfs.http.policy}} would has no effects when this bug
> manifests.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)