commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <>
Subject [jira] [Updated] (VFS-586) Add more ways to specify alternate HDFS configuration information
Date Tue, 17 Nov 2015 22:05:11 GMT


Roger Whitcomb updated VFS-586:
    Attachment: hdfs-config-2.diffs

The "hdfs-config-2.diffs" shows the code with correct handling of null inputs (as specified
by the Javadoc for the methods), as well as more specifics about what null input will do.

Tested in our application with non-null inputs, and all still works correctly.

> Add more ways to specify alternate HDFS configuration information
> -----------------------------------------------------------------
>                 Key: VFS-586
>                 URL:
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.1
>         Environment: All
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1
>         Attachments: hdfs-config-2.diffs, hdfs-config.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 and 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

View raw message