You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/01/28 13:12:00 UTC

[jira] [Updated] (VFS-586) Add more ways to specify alternate HDFS configuration information

     [ https://issues.apache.org/jira/browse/VFS-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory updated VFS-586:
-----------------------------
    Fix Version/s:     (was: 2.3)
                   2.4

> Add more ways to specify alternate HDFS configuration information
> -----------------------------------------------------------------
>
>                 Key: VFS-586
>                 URL: https://issues.apache.org/jira/browse/VFS-586
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.1
>         Environment: All
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: hdfs-config-2.diffs
>
>
> In trying to resolve some customer issues we were experiencing, it was necessary to specify some alternate HDFS configuration information from some places other than resources in the current classpath, plus needing to specify multiple configurations (such as a local copy of "core-site.xml" and "hdfs-site.xml").  To accomplish this I have proposed some changes to HdfsFileSystemConfigBuilder.java and HdfsFileSystem.java to be able to specify alternate configurations from all the possible sources (as defined in org.apache.hadoop.fs.Configuration), namely from a named resource, from a local file Path, from an InputStream and from another Configuration object.  For resource names and local files, multiple entries are allowed so that multiple configuration files can be specified as needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)