hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9022) Move NameNode.getAddress() and NameNode.getUri() to hadoop-hdfs-client
Date Fri, 04 Sep 2015 00:52:45 GMT
Mingliang Liu created HDFS-9022:

             Summary: Move NameNode.getAddress() and NameNode.getUri() to hadoop-hdfs-client
                 Key: HDFS-9022
                 URL: https://issues.apache.org/jira/browse/HDFS-9022
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Mingliang Liu
            Assignee: Mingliang Liu

The static helper methods in NameNodes are used in {{hdfs-client}} module. For example, it's
used by the {{DFSClient}} and {{NameNodeProxies}} classes which are being moved to {{hadoop-hdfs-client}}
module. Meanwhile, we should keep the {{NameNode}} class itself in the {{hadoop-hdfs}} module.

This jira tracks the effort of moving the following static helper methods out of  {{NameNode}}
and thus {{hadoop-hdfs}} module. A good place to put these methods is the {{DFSUtilClient}}
public static InetSocketAddress getAddress(String address);
public static InetSocketAddress getAddress(Configuration conf);
public static InetSocketAddress getAddress(URI filesystemURI);
public static URI getUri(InetSocketAddress namenode);

Be cautious not to bring new checkstyle warnings.

This message was sent by Atlassian JIRA

View raw message