[
https://issues.apache.org/jira/browse/HADOOP-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571627#action_12571627
]
Doug Cutting commented on HADOOP-2885:
--------------------------------------
It would be more consistent to move the dfs package to
org.apache.hadoop.fs.hdfs, and to rename the DistributedFileSystem class to be
HDFS. There should be few compatibility issues with this, since applications
should not refer directly to hdfs classes. If needed, we could possibly create
a org.apache.hadoop.dfs.DistributedFileSystem subclass of
org.apache.hadoop.fs.hdfs.HDFS for one release.
The src/java directory would better be split not in two, but in three:
src/java/{core,mapred,hdfs}. Splitting HDFS into its own tree will help keep
the many internal APIs made public by this restructuring from appearing in
end-user javadocs, and also better reflect system layering.
> Restructure the hadoop.dfs package
> ----------------------------------
>
> Key: HADOOP-2885
> URL: https://issues.apache.org/jira/browse/HADOOP-2885
> Project: Hadoop Core
> Issue Type: Sub-task
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Priority: Minor
> Fix For: 0.17.0
>
> Attachments: Prototype dfs package.png
>
>
> This Jira proposes restructurign the package hadoop.dfs.
> 1. Move all server side and internal protocols (NN-DD etc) to
> hadoop.dfs.server.*
> 2. Further breakdown of dfs.server.
> - dfs.server.namenode.*
> - dfs.server.datanode.*
> - dfs.server.balancer.*
> - dfs.server.common.* - stuff shared between the various servers
> - dfs.protocol.* - internal protocol between DN, NN and Balancer etc.
> 3. Client interface:
> - hadoop.dfs.DistributedFileSystem.java
> - hadoop.dfs.ChecksumDistributedFileSystem.java
> - hadoop.dfs.HftpFilesystem.java
> - hadoop.dfs.protocol.* - the client side protocol
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.