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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • datanode
    • None
    • 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

        1. HDFS-5876.000.patch
          5 kB
          Haohui Mai

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: