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

dfs.http.policy should have higher precedence over dfs.https.enable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None
    • Reviewed

    Description

      If dfs.policy.http is defined in hdfs-site.xml, It should have higher precedence.

      In hdfs-site.xml, if dfs.https.enable is set to true and dfs.http.policy is set to HTTP_ONLY, The affecting policy should be 'HTTP_ONLY' instead 'HTTP_AND_HTTPS'.

      Currently with this configuration, it activates HTTP_AND_HTTPS policy.

      Attachments

        1. HDFS-5873.002.patch
          8 kB
          Haohui Mai
        2. HDFS-5873.001.patch
          5 kB
          Haohui Mai
        3. HDFS-5873.000.patch
          4 kB
          Haohui Mai

        Issue Links

          Activity

            People

              wheat9 Haohui Mai
              yeshavora Yesha Vora
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: