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

HBase RPC should allow protocol extension with common interfaces.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.0
    • 0.94.2
    • Coprocessors, regionserver
    • None
    • Reviewed

    Description

      HBase RPC fails if MyProtocol extends an interface, which is not a VersionedProtocol even if MyProtocol also directly extends VersionedProtocol. The reason is that rpc Invocation uses Method.getDeclaringClass(), which returns the interface class rather than the class of MyProtocol.

      Attachments

        1. 6340-6762-combined.txt
          4 kB
          Lars Hofhansl
        2. 6340-6762-combined-v2.txt
          8 kB
          Lars Hofhansl
        3. 6340-RPCInvocation.patch
          7 kB
          Ted Yu
        4. RPCInvocation.patch
          6 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: