[
https://issues.apache.org/jira/browse/HDFS-17889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dimas Shidqi Parikesit updated HDFS-17889:
------------------------------------------
Description:
When I tried to run getHAServiceState against a router RPC endpoint, I got an
error that says return value is null. My proposed fix addresses this issue by
implementing the function in RouterAsyncClientProtocol.java
======
Client code:
!image-2026-03-11-10-37-25-298.png|width=398,height=355!
======
Error (before proposed patch):
!image-2026-03-11-10-39-49-796.png|width=783,height=337!
======
Expected behavior (after proposed patch):
!image-2026-03-11-10-40-32-003.png|width=741,height=62!
was:Currently, RouterAsyncClientProtocol doesn't have async support
implemented
> RBF: Enable the router asynchronous RPC feature to handle getHAServiceState
> ---------------------------------------------------------------------------
>
> Key: HDFS-17889
> URL: https://issues.apache.org/jira/browse/HDFS-17889
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Dimas Shidqi Parikesit
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2026-03-11-10-37-25-298.png,
> image-2026-03-11-10-39-49-796.png, image-2026-03-11-10-40-32-003.png
>
>
> When I tried to run getHAServiceState against a router RPC endpoint, I got an
> error that says return value is null. My proposed fix addresses this issue by
> implementing the function in RouterAsyncClientProtocol.java
> ======
> Client code:
> !image-2026-03-11-10-37-25-298.png|width=398,height=355!
>
> ======
> Error (before proposed patch):
> !image-2026-03-11-10-39-49-796.png|width=783,height=337!
>
> ======
> Expected behavior (after proposed patch):
> !image-2026-03-11-10-40-32-003.png|width=741,height=62!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]