kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6141) Errors logs when running integration/kafka/tools/MirrorMakerIntegrationTest
Date Sat, 28 Oct 2017 10:17:00 GMT

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

ASF GitHub Bot commented on KAFKA-6141:
---------------------------------------

GitHub user Sammers21 opened a pull request:

    https://github.com/apache/kafka/pull/4153

    KAFKA-6141: add disabling of useless embedded zookeeper error logs

    Created a function which sets  `zkShutdownHandler` filed of a `ZooKeeperServer` object
via reflection(because it field and `ZooKeeperServerShutdownHandler` is not accessible).
    
    So it is a solution because useless logs is eliminated. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Sammers21/kafka disabling_logs_of_embedded_zk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/4153.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4153
    
----
commit 355010aa0f4d3257958d2f28002f197a0665a2f6
Author: Sammers21 <titantins@gmail.com>
Date:   2017-10-28T10:00:04Z

    add disableing of useless embedded zookeeper error logs

----


> Errors logs when running integration/kafka/tools/MirrorMakerIntegrationTest
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-6141
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6141
>             Project: Kafka
>          Issue Type: Improvement
>          Components: unit tests
>            Reporter: Pavel
>            Priority: Trivial
>
> There are some error logs when running Tests extended from ZooKeeperTestHarness, for
example integration/kafka/tools/MirrorMakerIntegrationTest:
> [2017-10-27 18:28:02,557] ERROR ZKShutdownHandler is not registered, so ZooKeeper server
won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472)
> [2017-10-27 18:28:09,110] ERROR ZKShutdownHandler is not registered, so ZooKeeper server
won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472)
> And these logs have no impact on test results. I think it would be great to eliminate
these logs from output by providing a ZKShutdownHandler.



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

Mime
View raw message