Issue Details (XML | Word | Printable)

Key: HADOOP-6223
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Sanjay Radia
Reporter: Sanjay Radia
Votes: 0
Watchers: 22
Operations

If you were logged in you would be able to see more operations.
Hadoop Common
HADOOP-4952

New improved FileSystem interface for those implementing new files systems.

Created: 31/Aug/09 12:33 AM   Updated: 30/Oct/09 10:26 PM
Return to search
Component/s: fs
Affects Version/s: None
Fix Version/s: 0.22.0

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File Licensed for inclusion in ASF works AbstractFileSystem.java 2009-09-25 04:10 PM Sanjay Radia 18 kB
Text File Licensed for inclusion in ASF works afs1.patch 2009-10-01 03:54 PM Sanjay Radia 61 kB
Text File Licensed for inclusion in ASF works AFS10.patch 2009-10-12 09:55 AM Sanjay Radia 109 kB
Text File Licensed for inclusion in ASF works AFS11.patch 2009-10-13 01:04 AM Sanjay Radia 109 kB
Text File Licensed for inclusion in ASF works AFS15.patch 2009-10-15 07:06 PM Sanjay Radia 100 kB
Text File Licensed for inclusion in ASF works AFS16.patch 2009-10-20 06:58 AM Suresh Srinivas 109 kB
Text File Licensed for inclusion in ASF works AFS17.patch 2009-10-29 03:33 PM Sanjay Radia 113 kB
Text File Licensed for inclusion in ASF works AFS18.patch 2009-10-29 09:52 PM Sanjay Radia 113 kB
Text File Licensed for inclusion in ASF works AFS4.patch 2009-10-09 08:25 PM Sanjay Radia 94 kB
Java Source File Licensed for inclusion in ASF works Hdfs.java 2009-10-01 03:54 PM Sanjay Radia 5 kB
Java Source File Licensed for inclusion in ASF works Hdfs.java 2009-09-25 04:10 PM Sanjay Radia 4 kB
Issue Links:
Dependants
 
Reference

Hadoop Flags: Reviewed
Release Note: Add new file system interface AbstractFileSystem with implementation of some file systems that delegate to old FileSystem.
Resolution Date: 30/Oct/09 10:26 PM


 Description  « Hide
The FileContext API (HADOOP-4952) provides an improved interface for the application writer.
This lets us simplify the FileSystem API since it will no longer need to deal with notions of default filesystem [ / ], wd, and config
defaults for blocksize, replication factor etc. Further it will not need the many overloaded methods for create() and open() since
the FileContext API provides that convenience.
The FileSystem API can be simplified and can now be restricted to those implementing new file systems.

This jira proposes that we create new file system API, and deprecate FileSystem API after a few releases.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #831475 Fri Oct 30 22:24:22 UTC 2009 suresh HADOOP-6223. Add new file system interface AbstractFileSystem with implementation of some file systems that delegate to old FileSystem. Contributed by Sanjay Radia.
Files Changed
MODIFY /hadoop/common/trunk/CHANGES.txt
MODIFY /hadoop/common/trunk/src/java/org/apache/hadoop/fs/Options.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/local/LocalConfigKeys.java
ADD /hadoop/common/trunk/src/test/core/org/apache/hadoop/fs/TestFcLocalFsPermission.java
ADD /hadoop/common/trunk/src/test/core/org/apache/hadoop/fs/FileContextPermissionBase.java
MODIFY /hadoop/common/trunk/src/java/org/apache/hadoop/fs/ftp/FTPFileSystemConfigKeys.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/local/LocalFs.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/local/RawLocalFs.java
MODIFY /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FileContext.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/ChecksumFs.java
MODIFY /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FileStatus.java
MODIFY /hadoop/common/trunk/src/test/core/org/apache/hadoop/fs/TestFileContextDeleteOnExit.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/AbstractFileSystem.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/DelegateToFileSystem.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/ftp/FtpConfigKeys.java
MODIFY /hadoop/common/trunk/src/java/core-default.xml
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/local
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FilterFs.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/ftp/FtpFs.java
ADD /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsConstants.java