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

Doug Cutting commented on HADOOP-3074:
--------------------------------------

This need not be specific to HDFS, but could be generic to any FileSystem 
implementation, no?  The FileSystem API subsumes Java's URL connection API.  We 
could even provide a generic URLStreamHandlerFactory.

http://java.sun.com/javase/6/docs/api/java/net/URL.html#setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory)

Note that we might special-case the "file:" protocol, since the JVM already 
includes an handler for that.


> URLStreamHandler for the DFS
> ----------------------------
>
>                 Key: HADOOP-3074
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3074
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: util
>            Reporter: Christophe Taton
>            Assignee: Christophe Taton
>             Fix For: 0.17.0
>
>         Attachments: 3074-20080324a.patch
>
>
> This issue aims at providing a handler to resolve DFS URLs 
> ("hdfs://host:port/file/to/path"), so that such URLs can be read using the 
> URL API (mainly {{InputStream url.openStream()}}).
> This allows the use of a {{URLClassLoader}} which would serve classes 
> directly from the DFS.

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