hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3518) Want NIO.2 (JSR 203) file system provider for Hadoop FileSystem
Date Mon, 09 Jun 2008 10:43:45 GMT

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

Tom White commented on HADOOP-3518:
-----------------------------------

Like Hadoop, NIO.2 identifies filesystems by URI scheme (see http://openjdk.java.net/projects/nio/javadoc/java/nio/file/spi/FileSystemProvider.html).
A minor difference with Hadoop is that in NIO.2 the file operations are on the Path class
(http://openjdk.java.net/projects/nio/javadoc/java/nio/file/Path.html), not the FileSystem
class (but this doesn't preclude writing a NIO.2 provider for Hadoop, of course).

> Want NIO.2 (JSR 203) file system provider for Hadoop FileSystem
> ---------------------------------------------------------------
>
>                 Key: HADOOP-3518
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3518
>             Project: Hadoop Core
>          Issue Type: Wish
>          Components: fs
>            Reporter: Tom White
>
> JSR 203 (aka "NIO.2" or "more NIO") is defining a rich set of classes for interacting
with files and file systems (as well as other NIO enhancements). It is scheduled to be released
as a part of Java 7.
> This motivation behind this issue is to see if NIO.2 can be used as an interface to Hadoop's
FileSystem class before NIO.2 is finalized, thus giving Hadoop developers an opportunity to
influence NIO's design (if necessary). Also, learning more about NIO.2 may inform design decisions
for Hadoop filesystems.
> The starting point for this work should be the java.nio.file.spi package (http://openjdk.java.net/projects/nio/javadoc/java/nio/file/spi/package-summary.html).
There is an example of a filesystem provider (for ZIP files) linked from the OpenJDK page
for NIO.2: http://openjdk.java.net/projects/nio/. This page also has other useful links, such
as a JavaOne talk, javadoc and source code.

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