hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5876) SecureDataNodeStarter does not pick up configuration in hdfs-site.xml
Date Thu, 06 Feb 2014 14:50:17 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893401#comment-13893401
] 

Hudson commented on HDFS-5876:
------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1690 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1690/])
HDFS-5876. SecureDataNodeStarter does not pick up configuration in hdfs-site.xml. Contributed
by Haohui Mai. (jing9: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1564897)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/SecureDataNodeStarter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeHttpServer.java


> 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
>          Components: datanode
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>             Fix For: 2.3.0
>
>         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)

Mime
View raw message