Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5876

SecureDataNodeStarter does not pick up configuration in hdfs-site.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Issue Links

          Activity

            People

            • Assignee:
              Haohui Mai
              Reporter:
              Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development