You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2015/09/10 16:05:46 UTC

[jira] [Created] (HDFS-9045) DatanodeHttpServer is not setting Endpoint based on configured policy and not loading ssl configuration.

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)