You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jordan Ganoff (JIRA)" <ji...@apache.org> on 2016/10/02 00:32:20 UTC

[jira] [Created] (FLINK-4725) BucketingSink throws NPE while restoring state if basePath does not exist

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)