|
Christophe Taton (JIRA) |
at Mar 25, 2008 at 3:31 pm
|
⇧ |
| |
[
https://issues.apache.org/jira/browse/HADOOP-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe Taton updated HADOOP-3074:
-------------------------------------
Attachment: 3074-20080325a.patch
I dug concerning file:// URLs and the previous patch does not work for these URLs.
This happens because of the late loading of Configuration resource files (which itself relies on URLs).
The new patch forces the load of such resource files before setting the new handler factory, thus allowing it to handle file:// URLs too.
The code has also been cleaned (FSDataInput/OutputStream replaced with Input/OutputStream).
URLStreamHandler for the DFS
----------------------------
Key: HADOOP-3074
URL:
https://issues.apache.org/jira/browse/HADOOP-3074Project: Hadoop Core
Issue Type: New Feature
Components: util
Reporter: Christophe Taton
Assignee: Christophe Taton
Fix For: 0.17.0
Attachments: 3074-20080324a.patch, 3074-20080324b.patch, 3074-20080325a.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.