[
https://issues.apache.org/jira/browse/FLINK-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15191347#comment-15191347
]
ASF GitHub Bot commented on FLINK-3595:
---------------------------------------
Github user uce commented on the pull request:
https://github.com/apache/flink/pull/1780#issuecomment-195491044
Regarding the stack trace of the Kafka test: the log shows two failures.
- The stack trace you posted is part of a test time out (that's why you
have the interruption of the client in your stack trace), and
- a job restart when not enough task managers are connected
(NoResourceAvailableException).
Looking at the code, the failures seem unrelated. Do you think that's not
the case?
> Kafka09 consumer thread does not interrupt when stuck in record emission
> ------------------------------------------------------------------------
>
> Key: FLINK-3595
> URL: https://issues.apache.org/jira/browse/FLINK-3595
> Project: Flink
> Issue Type: Bug
> Components: Kafka Connector
> Affects Versions: 1.0.0
> Reporter: Stephan Ewen
> Assignee: Ufuk Celebi
> Priority: Critical
> Fix For: 1.1.0, 1.0.1
>
>
> When canceling a job, the Kafka 0.9 Consumer Thread may be stuck in a
> blocking method (output emitting) and never wakes up.
> The thread as a whole cannot be simply interrupted, because of a bug in Kafka
> that makes the consumer freeze/hang up on interrupt.
> There are two possible solutions:
> - allow and call interrupt when the consumer thread is emitting elements
> - destroy the output network buffer pools eagerly on canceling. The Kafka
> thread will then throw an exception if it is stuck in emitting elements and
> it will terminate, which is accepted in case the status is canceled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)