You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/08/21 18:51:00 UTC

[jira] [Created] (KAFKA-19631) Admin#describeReplicaLogDirs does not handle error correctly

Chia-Ping Tsai created KAFKA-19631:
--------------------------------------

             Summary: Admin#describeReplicaLogDirs does not handle error correctly
                 Key: KAFKA-19631
                 URL: https://issues.apache.org/jira/browse/KAFKA-19631
             Project: Kafka
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


Admin#describeReplicaLogDirs has following issues:

1. Admin#describeReplicaLogDirs does not propagate the CLUSTER_AUTHORIZATION_FAILED

2. the single directory-level error is propagated to other directories result

{code:java}
                        if (logDirInfo.error() != null)
                            handleFailure(new IllegalStateException(
                                "The error " + logDirInfo.error().getClass().getName() + " for log directory " + logDir + " in the response from broker " + brokerId + " is illegal"));
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)