[
https://issues.apache.org/jira/browse/BEAM-7613?focusedWorklogId=291303&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291303
]
ASF GitHub Bot logged work on BEAM-7613:
----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Aug/19 14:45
Start Date: 08/Aug/19 14:45
Worklog Time Spent: 10m
Work Description: dmvk commented on issue #8923: [BEAM-7613]
HadoopFileSystem can work with more than one cluster.
URL: https://github.com/apache/beam/pull/8923#issuecomment-519549704
I've changed HadoopFileSystemRegistrar to work as follows:
- Resolve scheme from fs.defaultFS (compatible with original implementation)
- In case dfs.nameservices are configured, we imply HA hadoop cluster and
also register hdfs and webhdfs schemes
This should be backward compatible and also support multiple clusters. We
leave other settings up to the user to validate.
WDYT?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 291303)
Time Spent: 2h (was: 1h 50m)
> HadoopFileSystem can be only used with fs.defaultFS
> ---------------------------------------------------
>
> Key: BEAM-7613
> URL: https://issues.apache.org/jira/browse/BEAM-7613
> Project: Beam
> Issue Type: Bug
> Components: io-java-hadoop-file-system
> Affects Versions: 2.13.0
> Reporter: David Moravek
> Assignee: David Moravek
> Priority: Major
> Time Spent: 2h
> Remaining Estimate: 0h
>
> _HadoopFileSystem_ creates underlying _FileSystem_ (one from
> org.apache.hadoop) instance during it's construction. Single _FileSystem_
> instance is tied to a particular cluster (scheme + authority pair). In case
> we want to talk to another cluster, this fail due to _FileSystem#checkPath_.
>
> This can be fixed by using _FileSystem#get(java.net.URI,
> org.apache.hadoop.conf.Configuration)_ instead of
> _FileSystem#newInstance(org.apache.hadoop.conf.Configuration)_{{}}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)