dbeam icon indicating copy to clipboard operation
dbeam copied to clipboard

Writing output into AWS S3 does not work

Open xuanpan opened this issue 4 years ago • 6 comments

I understand dbeam officially does not support S3. I kinda of hopping it might work out of the box because Beam supports S3 as its file io. However I got the following error:

"No filesystem found for scheme s3"

Do you have a clue why is this happening? Do you plan to add S3 output in the future?

xuanpan avatar May 17 '20 18:05 xuanpan

@pan-xuan Can you provide your parameters and logs error (may be abfuscated :) )?

rulle-io avatar May 28 '20 08:05 rulle-io

Hi. Below are parameters

--connectionUrl=jdbc:mysql://35.228.186.7:3306/keychaindb --username=xxxxx --password=xxxxx --table=keychain_dump --output=s3://com.privacyone.bigdata/2020-05-28/18

There is only the error from caught Exception.getMessage() "No filesystem found for scheme s3"

xijingchen avatar May 28 '20 18:05 xijingchen

Reproducible. I will have a look.

rulle-io avatar May 29 '20 09:05 rulle-io

That would be awesome Ruslan. We have tried to configure dbeam during startup with AWS option and S3 option. None of the attempts helped.

xuanpan avatar May 29 '20 09:05 xuanpan

Interesting, I have given it a try, it will not be a one-liner :) . Will continue this week.

rulle-io avatar Jun 01 '20 09:06 rulle-io

I had the feeling it would be a "one liner" because Beam essentially support aws s3. I had assumed it is how dbeam initiated beam lib to caused the issue. But after a few attempts in patching the factory with S3 and AWS options with no result. I became clueless. We appreciate your continuous investigation.

xuanpan avatar Jun 01 '20 09:06 xuanpan