hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Kellerman (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-841) Consolidate multiple overloaded methods in HRegionInterface, HRegionServer
Date Tue, 26 Aug 2008 18:22:44 GMT

     [ https://issues.apache.org/jira/browse/HBASE-841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jim Kellerman resolved HBASE-841.

    Resolution: Fixed

Committed to trunk. Thanks for the patch JD!

> Consolidate multiple overloaded methods in HRegionInterface, HRegionServer
> --------------------------------------------------------------------------
>                 Key: HBASE-841
>                 URL: https://issues.apache.org/jira/browse/HBASE-841
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: ipc, regionserver
>    Affects Versions: 0.2.0
>            Reporter: Jim Kellerman
>            Assignee: Jean-Daniel Cryans
>            Priority: Blocker
>             Fix For: 0.18.0
>         Attachments: hbase-841.patch
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message