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.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              bibinchundatt Bibin Chundatt

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment