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

Bernd Eckenfels commented on VFS-555:
-------------------------------------

BTW is the loaded configuration overwriting or resetting the set option? 
conf.set(FileSystem.FS_DEFAULT_NAME_KEY, hdfsUri). Should this set be done 
after the addResource or is it independent (dont know HDFS).

> 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)

Reply via email to