Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently the org.apache.hadoop.hdfs.NameNodeProxies class is used by both org.apache.hadoop.hdfs.server package (for server side protocols) and DFSClient class (for ClientProtocol). The DFSClient class should be moved to hadoop-hdfs-client module (see HDFS-8053 ). As the org.apache.hadoop.hdfs.NameNodeProxies class also depends on server side protocols (e.g. JournalProtocol and NamenodeProtocol), we can't simply move this class to the hadoo-hdfs-client module as well.
This jira tracks the effort of moving ClientProtocol related static methods in org.apache.hadoop.hdfs.NameNodeProxies class to hadoo-hdfs-client module. A good place to put these static methods is a new class named NameNodeProxiesClient.
The checkstyle warnings can be addressed in HDFS-8979, and removing the slf4j logger guards when calling LOG.debug() and LOG.trace() can be addressed in HDFS-8971.