HBase
  1. HBase
  2. HBASE-841

Consolidate multiple overloaded methods in HRegionInterface, HRegionServer

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.18.0
    • Component/s: IPC/RPC, regionserver
    • Labels:
      None

      Description

      There are too many overloaded methods in HRegionServerInterface and consequently HRegionServer.

      These should be consolidated into one method per operation and the client should pass the appropriate parameters to the server.

      On the server side, the single method should be able to handle parameters that are not supplied, e.g.,

      • long values that are not supplied should be -1
      • boolean values should be supplied appropriately
      • objects that are not supplied should be passed as null

      All these overloaded methods eventually call the same method on the server side eventually. Removing the overloads would make following control flow easier.

      1. hbase-841.patch
        16 kB
        Jean-Daniel Cryans

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jean-Daniel Cryans
            Reporter:
            Jim Kellerman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development