hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7549) Use JDK ServiceLoader mechanism to find FileSystem implementations
Date Thu, 01 Sep 2011 18:26:10 GMT

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

Suresh Srinivas commented on HADOOP-7549:
-----------------------------------------

bq. "file" scheme to point to RawLocalFileSystem, "checksum" scheme to point to LocalFileSystem
This is backward incompatible. We should retain the definitions that are in core-default.xml
for mapping scheme to a file system. By that definition, scheme "file" should map to LocalFileSystem.
I am fine moving current schemes from configuration file to ServiceLoader based mechanism.

We should also retain the configuration based mechanism. This as I indicated earlier, gives
flexibility during run time to override a scheme to a different file system mapping.

> Use JDK ServiceLoader mechanism to find FileSystem implementations
> ------------------------------------------------------------------
>
>                 Key: HADOOP-7549
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7549
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7549v1.patch
>
>
> Currently configuring FileSystem implementations must be done by declaring the FileSystem
class in the Hadoop configuration files (core-default.xml, ...).
> Using JDK ServiceLoader mechanism this configuration step can be avoided. Adding the
JAR file with the additional FileSystem implementation would suffice. 
> This is similar to what is being proposed for compression codecs (HADOOP-7350).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message