Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5305 Add https support in HDFS
  3. HDFS-5536

Implement HTTP policy for Namenode and DataNode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None
    • Reviewed
    • Hide
      Add new HTTP policy configuration. Users can use "dfs.http.policy" to control the HTTP endpoints for NameNode and DataNode. Specifically, The following values are supported:
      - HTTP_ONLY : Service is provided only on http
      - HTTPS_ONLY : Service is provided only on https
      - HTTP_AND_HTTPS : Service is provided both on http and https

      hadoop.ssl.enabled and dfs.https.enabled are deprecated. When the deprecated configuration properties are still configured, currently http policy is decided based on the following rules:
      1. If dfs.http.policy is set to HTTPS_ONLY or HTTP_AND_HTTPS. It picks the specified policy, otherwise it proceeds to 2~4.
      2. It picks HTTPS_ONLY if hadoop.ssl.enabled equals to true.
      3. It picks HTTP_AND_HTTPS if dfs.https.enable equals to true.
      4. It picks HTTP_ONLY for other configurations.
      Show
      Add new HTTP policy configuration. Users can use "dfs.http.policy" to control the HTTP endpoints for NameNode and DataNode. Specifically, The following values are supported: - HTTP_ONLY : Service is provided only on http - HTTPS_ONLY : Service is provided only on https - HTTP_AND_HTTPS : Service is provided both on http and https hadoop.ssl.enabled and dfs.https.enabled are deprecated. When the deprecated configuration properties are still configured, currently http policy is decided based on the following rules: 1. If dfs.http.policy is set to HTTPS_ONLY or HTTP_AND_HTTPS. It picks the specified policy, otherwise it proceeds to 2~4. 2. It picks HTTPS_ONLY if hadoop.ssl.enabled equals to true. 3. It picks HTTP_AND_HTTPS if dfs.https.enable equals to true. 4. It picks HTTP_ONLY for other configurations.

    Description

      this jira implements the http and https policy in the namenode and the datanode.

      Attachments

        1. HDFS-5536.010.patch
          55 kB
          Haohui Mai
        2. HDFS-5536.009.patch
          55 kB
          Haohui Mai
        3. HDFS-5536.008.patch
          54 kB
          Haohui Mai
        4. HDFS-5536.007.patch
          55 kB
          Haohui Mai
        5. HDFS-5536.006.patch
          56 kB
          Haohui Mai
        6. HDFS-5536.005.patch
          55 kB
          Haohui Mai
        7. HDFS-5536.004.patch
          67 kB
          Haohui Mai
        8. HDFS-5536.003.patch
          76 kB
          Haohui Mai
        9. HDFS-5536.002.patch
          111 kB
          Haohui Mai
        10. HDFS-5536.001.patch
          111 kB
          Haohui Mai
        11. HDFS-5536.000.patch
          111 kB
          Haohui Mai

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: