[
https://issues.apache.org/jira/browse/VFS-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297248#comment-14297248
]
Roger Whitcomb commented on VFS-555:
------------------------------------
I have committed this change (with the log level changed as requested):
Sending
core\src\main\java\org\apache\commons\vfs2\provider\hdfs\HdfsFileSystem.java
Sending
core\src\main\java\org\apache\commons\vfs2\provider\hdfs\HdfsFileSystemConfigBuilder.java
Transmitting file data ..
Committed revision 1655773.
> Add ability to specify alternate HDFS configuration file
> --------------------------------------------------------
>
> Key: VFS-555
> URL: https://issues.apache.org/jira/browse/VFS-555
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 2.1
> Environment: All
> Reporter: Roger Whitcomb
> Priority: Minor
> Fix For: 2.1
>
> Attachments: VFS-555.patch
>
>
> We need to access HDFS on an AWS installation from outside the AWS firewall.
> The technique is described here:
> http://rainerpeter.wordpress.com/2014/02/12/connect-to-hdfs-running-in-ec2-using-public-ip-addresses/
> In order to do this we need to set the
> "dfs.client.use.datanode.hostname=true" in an alternate configuration file
> set after the default configuration is loaded.
> I propose to add a property "configName" to HdfsFileSystemConfigBuilder, and
> then code in HdfsFileSystem to get the value of the property and set it in
> the Configuration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)