Re: Checking for existance of output directory/files before running a batch job
Posted by
rmetzger0 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Checking-for-existance-of-output-directory-files-before-running-a-batch-job-tp8573p8583.html
Hi Niels,
I assume the directoryName you are passing doesn't have the file system prefix (hdfs:// or s3://, ...) specified.
In those cases, Path.getFileSystem() is looking up the default file system prefix from the configuration.
Probably the environment where you are submitting the job from doesn't have the correct Flink configuration.
How are you starting the Flink job? Does the conf/flink-conf.yaml have the correct hdfs configuration?
Regards,
Robert