[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flink and AWS S3 integration: java.lang.NullPointerException: null uri host

Did you run Flink on AWS EMR or somewhere else? Have you read and followed instructions on  ?

On Wed, May 30, 2018 at 7:08 AM, Fabian Wollert <fabian@xxxxxxxxxx> wrote:
Hi, I'm trying to set up Checkpoints for Flink Jobs with S3 as a filesystem backend. I configured the following:


I also copied the flink-s3-fs-hadoop-1.5.0.jar into the lib folder.

I get now though the following error message:

Caused by: java.lang.NullPointerException: null uri host.
    at java.util.Objects.requireNonNull(
    at org.apache.flink.fs.s3hadoop.S3FileSystemFactory.create(

I tried to dig deeper into the source code, but struggled to find 
  • what is meant with this URI
  • where to configure it
Can anybody give some advice how to set up the S3 Backend with the new shaded lib jar?

Thanks in advance

Fabian Wollert
Zalando SE

Fax: +49 (0)30 2759 46 93
Notifications of major holdings (Sec. 33, 38, 39 WpHG):  +49 (0)30 2000889349

Management Board:
Robert Gentz, David Schneider, Rubin Ritter

Chairman of the Supervisory Board:
Lothar Lanz

Person responsible for providing the contents of Zalando SE acc. to Art. 55 RStV [Interstate Broadcasting Agreement]: Rubin Ritter
Registered at the Local Court Charlottenburg Berlin, HRB 158855 B
VAT registration number: DE 260543043