Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5876

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: