You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/06 19:08:39 UTC

[jira] [Commented] (TWILL-151) Improve Logging error when fetching message after Kafka server is stopped

    [ https://issues.apache.org/jira/browse/TWILL-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085967#comment-15085967 ] 

ASF GitHub Bot commented on TWILL-151:
--------------------------------------

Github user chtyim commented on the pull request:

    https://github.com/apache/incubator-twill/pull/65#issuecomment-169406894
  
    Changes LGTM. Will merge it.


> 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)