hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Radia (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2885) Restructure the hadoop.dfs package
Date Tue, 24 Jun 2008 01:23:46 GMT

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

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

scrips to run svn commands and patch have been attached.

The steps are:

1) run
      2885_run1_svn_commands.sh

2) Verify that  src/hdfs/org/apache/hadoop/dfs contains NO FILES and ONLY the directories
namenode and datanode
   If this is not the case then some new files have sneeked in since I created the script.

   The script will have to be fixed to include these new files.

   If the dir is empty (except for namenode/metrics & datanode.metrics) then  run the
svn  command
         svn rm src/hdfs/org/apache/hadoop/dfs

3)  run 
     2885_run2-svn-commands.sh

4) Verify that src/test/org/apache/hadoop/dfs contain NO FILES.
   If this is not the case then some new files have sneeked in since I created the script.

   The script will have to be fixed to include these new files.
    
  If the dir is empty then please run the svn  command 
           svn rm src/test/org/apache/hadoop/dfs

5)  run 'patch -p0 < HADOOP-2885.patch'

6) Now add the new files to svn ( these files contain classes that were split from existing
files)
    run 
      2885_run_svn_add_new_file.sh

7) Rebuild and test.



> 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.


Mime
View raw message