[
https://issues.apache.org/jira/browse/KAFKA-9016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16950020#comment-16950020
]
kumar uttpal commented on KAFKA-9016:
-------------------------------------
[~viktorsomogyi] I would like to work on this issue, this is first time i would
be contributing.
If I understand it correctly we just need to change the log level of specific
message from info to warn.
thanks
> Warn when log dir stopped serving replicas
> ------------------------------------------
>
> Key: KAFKA-9016
> URL: https://issues.apache.org/jira/browse/KAFKA-9016
> Project: Kafka
> Issue Type: Improvement
> Components: log, log cleaner
> Reporter: Viktor Somogyi-Vass
> Priority: Major
> Labels: easy, newbie
>
> Kafka should warn if the log directory stops serving replicas as usually it
> is due to an error and it's much visible if it's on warn level.
> {noformat}
> 2019-09-19 12:39:54,194 ERROR kafka.server.LogDirFailureChannel: Error while
> writing to checkpoint file /kafka/data/diskX/replication-offset-checkpoint
> java.io.SyncFailedException: sync failed
> ..
> 2019-09-19 12:39:54,197 INFO kafka.server.ReplicaManager: [ReplicaManager
> broker=638] Stopping serving replicas in dir /kafka/data/diskX
> ..
> 2019-09-19 12:39:54,205 INFO kafka.server.ReplicaFetcherManager:
> [ReplicaFetcherManager on broker 638] Removed fetcher for partitions
> Set(test1-0, test2-2, test-0, test2-2, test4-14, test4-0, test2-6)
> 2019-09-19 12:39:54,206 INFO kafka.server.ReplicaAlterLogDirsManager:
> [ReplicaAlterLogDirsManager on broker 638] Removed fetcher for partitions
> Set(test1-0, test2-2, test-0, test3-2, test4-14, test4-0, test2-6)
> 2019-09-19 12:39:54,222 INFO kafka.server.ReplicaManager: [ReplicaManager
> broker=638] Broker 638 stopped fetcher for partitions
> test1-0,test2-2,test-0,test3-2,test4-14,test4-0,test2-6 and stopped moving
> logs for partitions because they are in the failed log directory
> /kafka/data/diskX.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)