Re: Programmatically configuring S3 settings

2021-10-20 Thread Arvid Heise
We had a similar thread on this ML where a user is executing through IDE. It seems as FileSystems are not automatically initialized in LocalExecutor and you should do it manually as a workaround [1] in your main before accessing the FileSystems. [1] https://github.com/apache/flink/blob/master/flin

Re: Programmatically configuring S3 settings

2021-10-19 Thread Pavel Penkov
I've placed a flink-conf.yaml file in conf dir but StreamExecutionEnvironment.getExecutionEnvironment doesn't pick it up. If set programmatically keys are visible in Flink Web UI, they are just not passed to Hadoop FS. On 2021/10/18 03:04:04, Yangze Guo wrote: > Hi, Pavel.> > > From my understand

Re: Programmatically configuring S3 settings

2021-10-17 Thread Yangze Guo
Hi, Pavel. >From my understanding of the doc[1], you need to set it in flink-conf.yaml instead of your job. [1] https://ci.apache.org/projects/flink/flink-docs-master/docs/deployment/filesystems/s3/#hadooppresto-s3-file-systems-plugins Best, Yangze Guo On Sat, Oct 16, 2021 at 5:46 AM Pavel Pen

Programmatically configuring S3 settings

2021-10-15 Thread Pavel Penkov
Apparently Flink 1.14.0 doesn't correctly translate S3 options when they are set programmatically. I'm creating a local environment like this to connect to local MinIO instance: val flinkConf = new Configuration() flinkConf.setString("s3.endpoint", "http://127.0.0.1:9000";) flinkConf.setStri