Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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 class:
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.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-8053 Move DFSIn/OutputStream and related classes to hadoop-hdfs-client
- Resolved
-
HDFS-9039 Separate client and server side methods of o.a.h.hdfs.NameNodeProxies
- Resolved
-
MAPREDUCE-6483 Replace deprecated method NameNode.getUri() with DFSUtilClient.getNNUri() in TestMRCredentials
- Resolved