hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9049) Make Datanode Netty reverse proxy port to be configurable
Date Thu, 10 Sep 2015 18:44:45 GMT
Vinayakumar B created HDFS-9049:
-----------------------------------

             Summary: Make Datanode Netty reverse proxy port to be configurable
                 Key: HDFS-9049
                 URL: https://issues.apache.org/jira/browse/HDFS-9049
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
            Reporter: Vinayakumar B
            Assignee: Vinayakumar B


In DatanodeHttpServer.java Netty is used as reverse proxy. But uses random port to start with
binding to localhost. This port can be made configurable for better deployments.
{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}



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

Mime
View raw message