[ https://issues.apache.org/jira/browse/HDFS-8080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14484376#comment-14484376 ]
Tsz Wo Nicholas Sze commented on HDFS-8080: ------------------------------------------- - PathType is better to be moved to a new class org.apache.hadoop.hdfs.web.WebHdfsConstants. Then, both client and server can use it. (Other string constants such as pathSuffix, accessTime, childrenNum, etc. should also be defined in WebHdfsConstants. We can make the change later.) - JsonUtilClient should be put in (a new package) org.apache.hadoop.hdfs.client.impl or org.apache.hadoop.hdfs.client.impl.web. > Separate JSON related routines used by WebHdfsFileSystem to a package local > class > --------------------------------------------------------------------------------- > > Key: HDFS-8080 > URL: https://issues.apache.org/jira/browse/HDFS-8080 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: build > Reporter: Haohui Mai > Assignee: Haohui Mai > Attachments: HDFS-8080.000.patch > > > Currently {{JSONUtil}} contains routines used by both {{WebHdfsFileSystem}} > and {{NamenodeWebHdfsMethods}}. This jira proposes to separate them into > different class so that it is easier to move {{WebHdfsFileSystem}} into a > separate module. -- This message was sent by Atlassian JIRA (v6.3.4#6332)