[
https://issues.apache.org/jira/browse/BEAM-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815748#comment-16815748
]
Chamikara Jayalath commented on BEAM-2572:
------------------------------------------
See here for some context regarding Summer of code proposal. The proposal was
just submitted so I think it's in a very early stage. [~pabloem] are you hoping
to be a mentor for this project if selected ?
[https://docs.google.com/document/d/1i_PoIrbmhNgwKCS1TYWC28A9RsyZQFsQCJic3aCXO-8/edit]
[https://lists.apache.org/thread.html/bf511e99656adda5fa4a122aa68ce790501ae4cd9f6e585b79a94c00@%3Cuser.beam.apache.org%3E]
Matt, if you are hoping to develop S3 FileSystem for Python SDK I'd say go for
it. Pasan's (student, sorry couldn't find a Jira ID) proposal was for both S3
and Azure blob. So if the proposal is selected he can work on Azure Blob and
any additional improvements needed regarding S3 FileSystem (benchmarks etc.).
Just my 2 cents.
> Implement an S3 filesystem for Python SDK
> -----------------------------------------
>
> Key: BEAM-2572
> URL: https://issues.apache.org/jira/browse/BEAM-2572
> Project: Beam
> Issue Type: Task
> Components: sdk-py-core
> Reporter: Dmitry Demeshchuk
> Assignee: Pablo Estrada
> Priority: Minor
> Labels: GSoC2019, gsoc, gsoc2019, mentor, triaged
>
> There are two paths worth exploring, to my understanding:
> 1. Sticking to the HDFS-based approach (like it's done in Java).
> 2. Using boto/boto3 for accessing S3 through its common API endpoints.
> I personally prefer the second approach, for a few reasons:
> 1. In real life, HDFS and S3 have different consistency guarantees, therefore
> their behaviors may contradict each other in some edge cases (say, we write
> something to S3, but it's not immediately accessible for reading from another
> end).
> 2. There are other AWS-based sources and sinks we may want to create in the
> future: DynamoDB, Kinesis, SQS, etc.
> 3. boto3 already provides somewhat good logic for basic things like
> reattempting.
> Whatever path we choose, there's another problem related to this: we
> currently cannot pass any global settings (say, pipeline options, or just an
> arbitrary kwarg) to a filesystem. Because of that, we'd have to setup the
> runner nodes to have AWS keys set up in the environment, which is not trivial
> to achieve and doesn't look too clean either (I'd rather see one single place
> for configuring the runner options).
> Also, it's worth mentioning that I already have a janky S3 filesystem
> implementation that only supports DirectRunner at the moment (because of the
> previous paragraph). I'm perfectly fine finishing it myself, with some
> guidance from the maintainers.
> Where should I move on from here, and whose input should I be looking for?
> Thanks!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)