flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (FLINK-6294) BucketingSink throws NPE while cancelling job
Date Wed, 29 Nov 2017 14:52:01 GMT

     [ https://issues.apache.org/jira/browse/FLINK-6294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aljoscha Krettek reopened FLINK-6294:
-------------------------------------

reopen to change fixVersion

> BucketingSink throws NPE while cancelling job
> ---------------------------------------------
>
>                 Key: FLINK-6294
>                 URL: https://issues.apache.org/jira/browse/FLINK-6294
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming Connectors
>    Affects Versions: 1.2.0
>            Reporter: Andrey
>             Fix For: 1.4.0, 1.3.3
>
>
> Steps to reproduce:
> * configure BucketingSink and run job
> * cancel job from UI before processing any messages
> * in logs:
> {code}
> 2017-04-11 10:14:54,681 INFO  org.apache.flink.core.fs.FileSystem                   
       - Ensuring all FileSystem streams are closed for Source: Custom Source (1/2) [Source:
Custom Source (1/2)]
> 2017-04-11 10:14:54,881 INFO  org.apache.flink.runtime.taskmanager.TaskManager      
       - Un-registering task and sending final execution state CANCELED to JobManager for
task Source: Custom Source (56d0c9ffe06dc3e4481e7ce530d9894f) [flink-akka.actor.default-dispatcher-4]
> 2017-04-11 10:14:56,584 ERROR org.apache.flink.streaming.runtime.tasks.StreamTask   
       - Error during disposal of stream operator. [Flat Map -> Sink: Unnamed (2/2)]
> java.lang.NullPointerException
> 	at org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink.close(BucketingSink.java:422)
> 	at org.apache.flink.api.common.functions.util.FunctionUtils.closeFunction(FunctionUtils.java:43)
> 	at org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.dispose(AbstractUdfStreamOperator.java:127)
> 	at org.apache.flink.streaming.runtime.tasks.StreamTask.disposeAllOperators(StreamTask.java:442)
> 	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:343)
> 	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:655)
> 	at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message