You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Srikantha G K (Jira)" <ji...@apache.org> on 2020/09/16 11:59:00 UTC

[jira] [Commented] (KAFKA-9016) Warn when log dir stopped serving replicas

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

Srikantha G K commented on KAFKA-9016:
--------------------------------------

I am new to Kafka,I am working in Windows environment. I am getting this warning of "Stopping serving replicas for dir:" , what is the cause for this warning message?

 

> 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
>    Affects Versions: 2.4.0
>            Reporter: Viktor Somogyi-Vass
>            Assignee: kumar uttpal
>            Priority: Major
>              Labels: easy, newbie
>             Fix For: 2.5.0
>
>
> 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)