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

DatanodeHttpServer is not setting Endpoint based on configured policy and not loading ssl configuration.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      Always DN is starting in http mode.

          HttpServer2.Builder builder = new HttpServer2.Builder()
              .setName("datanode")
              .setConf(confForInfoServer)
              .setACL(new AccessControlList(conf.get(DFS_ADMIN, " ")))
              .hostName(getHostnameForSpnegoPrincipal(confForInfoServer))
              .addEndpoint(URI.create("http://localhost:0"))
              .setFindPort(true);
      
      

      Should be based on configured policy

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bibinchundatt Bibin Chundatt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: