[
https://issues.apache.org/jira/browse/BEAM-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987992#comment-15987992
]
ASF GitHub Bot commented on BEAM-2005:
--------------------------------------
GitHub user lukecwik opened a pull request:
https://github.com/apache/beam/pull/2757
[BEAM-2005] Move getScheme from FileSystemRegistrar to FileSystem
Note that I needed to update FileSystems to instantiate the FileSystem(s)
upfront instead of remembering the mapping from scheme to registrar during
"registration" of the PipelineOptions.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [ ] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
- [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
number, if there is one.
- [ ] If this contribution is large, please file an Apache
[Individual Contributor License
Agreement](https://www.apache.org/licenses/icla.pdf).
---
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lukecwik/incubator-beam hdfs2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2757.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2757
----
commit a2ccc739f7dc2e6f606fafd6e158b63efe190b10
Author: Luke Cwik <[email protected]>
Date: 2017-04-28T01:13:43Z
[BEAM-2005] Move getScheme from FileSystemRegistrar to FileSystem
Note that I needed to update FileSystems to instantiate the FileSystem(s)
upfront instead of remembering the mapping from scheme to registrar.
----
> Add a Hadoop FileSystem implementation of Beam's FileSystem
> -----------------------------------------------------------
>
> Key: BEAM-2005
> URL: https://issues.apache.org/jira/browse/BEAM-2005
> Project: Beam
> Issue Type: New Feature
> Components: sdk-java-extensions
> Reporter: Stephen Sisk
> Assignee: Stephen Sisk
> Fix For: First stable release
>
>
> Beam's FileSystem creates an abstraction for reading from files in many
> different places.
> We should add a Hadoop FileSystem implementation
> (https://hadoop.apache.org/docs/r2.8.0/api/org/apache/hadoop/fs/FileSystem.html)
> - that would enable us to read from any file system that implements
> FileSystem (including HDFS, azure, s3, etc..)
> I'm investigating this now.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)