Jordan Ganoff created FLINK-4725:
------------------------------------

             Summary: BucketingSink throws NPE while restoring state if 
basePath does not exist
                 Key: FLINK-4725
                 URL: https://issues.apache.org/jira/browse/FLINK-4725
             Project: Flink
          Issue Type: Bug
          Components: filesystem-connector
    Affects Versions: 1.1.2
            Reporter: Jordan Ganoff


BucketingSink throws a NullPointerException when attempting to clean up pending 
files if the basePath does not exist.

The culprit is a [call to org.apache.hadoop.fs.FileSystem.listFiles() on line 
784|https://github.com/apache/flink/blob/master/flink-streaming-connectors/flink-connector-filesystem/src/main/java/org/apache/flink/streaming/connectors/fs/bucketing/BucketingSink.java#L784].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to