Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25073

Should not use XXXService.Interface.class.getSimpleName as stub key prefix in AsyncConnectionImpl

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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.

      Attachments

        Activity

          People

            ww112925 wangwei
            zhangduo Duo Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: