[
https://issues.apache.org/jira/browse/TWILL-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943180#comment-14943180
]
Sanoj Mathew commented on TWILL-151:
------------------------------------
Hi,
Can you please check this review request,
https://reviews.apache.org/r/38915/, is this what you are thinking ?
Do we need to think about some unit tests to cover the case, by
mimicking the Logger and broker service ?
Is it OK for you to assign this issue to me ?
Thanks,
Sanoj Mathew
> Improve Logging error when fetching message after Kafka server is stopped
> -------------------------------------------------------------------------
>
> Key: TWILL-151
> URL: https://issues.apache.org/jira/browse/TWILL-151
> Project: Apache Twill
> Issue Type: Bug
> Reporter: Shankar Selvam
>
> when we add LogHandler, We start a Kafka Consumer thread in Client that polls
> Kafka Server (Started when AM Starts).
> When the AM stops, we stop the kafka server, but there can be race where we
> make request to fetch message from the KafkaConsumer after the Kafka Server
> is stopped. We log the stack-trace in this case and it can be confusing for
> the user, we can improve the error logging in this case to make it cleaner.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)