[
https://issues.apache.org/jira/browse/HDFS-9045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haohui Mai resolved HDFS-9045.
------------------------------
Resolution: Invalid
This is invalid as the Netty serves as a reverse proxy for the Jetty server.
The jetty server is supposed to listen to localhost only.
> 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);
> {code}
> Should be based on configured policy
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)