[ 
https://issues.apache.org/jira/browse/HADOOP-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607438#action_12607438
 ] 

Sanjay Radia commented on HADOOP-2885:
--------------------------------------


>As per the above discussion, fs.FileSystem is the real public interface.
>Do we need to provide backward compatibility for dfs.DistributedFileSystem and 
>dfs.DFSClient which are currently public?

No one should  be using these two dfs  classes directly because  fs.FileSystem, 
provides the necessary functionality.
My suggestion is that we don't provide backward compatibility as part of this 
Jira. If we hear complaints from folks using these two dfs classes then
we can  add the backward compatible classes as a separate Jira in the current 
release. 
It would be useful to quickly surface users of these two "private" classes.


Also I will file a new Jira to fix the build of the Javadoc to remove the hdfs 
classes form the public javadoc (with a blocker for current release).


> Restructure the hadoop.dfs package
> ----------------------------------
>
>                 Key: HADOOP-2885
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2885
>             Project: Hadoop Core
>          Issue Type: Sub-task
>          Components: dfs
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>            Priority: Minor
>         Attachments: 2885_run1_svn-commands.sh, 2885_run2_svn-commands.sh, 
> 2885_run_svn_add_new_file.sh, HADOOP-2885_2.patch, 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.

Reply via email to