Bibin A Chundatt created HDFS-9045:
--------------------------------------

             Summary: DatanodeHttpServer is not setting Endpoint based on 
configured policy and not loading ssl configuration.
                 Key: HDFS-9045
                 URL: https://issues.apache.org/jira/browse/HDFS-9045
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Bibin A Chundatt
            Assignee: Surendra Singh Lilhore
            Priority: Critical


Always DN is starting in http mode.
{code}
    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

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to