You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2020/09/23 06:46:00 UTC
[jira] [Resolved] (HBASE-25073) Should not use
XXXService.Interface.class.getSimpleName as stub key prefix in
AsyncConnectionImpl
[ https://issues.apache.org/jira/browse/HBASE-25073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-25073.
-------------------------------
Fix Version/s: 2.2.7
2.4.0
2.3.3
3.0.0-alpha-1
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.2+.
Thanks [~ww112925] for contributing.
> Should not use XXXService.Interface.class.getSimpleName as stub key prefix in AsyncConnectionImpl
> -------------------------------------------------------------------------------------------------
>
> Key: HBASE-25073
> URL: https://issues.apache.org/jira/browse/HBASE-25073
> Project: HBase
> Issue Type: Task
> Components: Client
> Reporter: Duo Zhang
> Assignee: wangwei
> Priority: Major
> Labels: beginner, trivial
> Fix For: 3.0.0-alpha-1, 2.3.3, 2.4.0, 2.2.7
>
>
> It will just return "Interface" for all services. This is not a bug for AsyncConnectionImpl as we have different maps for ClientService and AdminService, but it is still a bit confusing to developers.
> I suggest either we just use empty string and add a comment to say that the service name is not important here, or change to use XXXService.class.getSimpleName() or XXXService.getDescriptor().getName(), so it is less confusing to developers.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)