hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Kennedy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1509) Open HRegionServer/HClient for extension
Date Fri, 22 Jun 2007 16:13:26 GMT

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

James Kennedy updated HADOOP-1509:

    Attachment: openForExtension-v3.patch

Ok. Attached patch v3.

HClient.getHRegionConnection() no longer needs to be extended since it is aware of the configuration
property "hbase.regionserver.class" which is set in hbase-default.xml to HRegionInterface
class name.  

I nixed getOpenServers().

> Open HRegionServer/HClient for extension
> ----------------------------------------
>                 Key: HADOOP-1509
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1509
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>    Affects Versions: 0.14.0
>            Reporter: James Kennedy
>            Assignee: James Kennedy
>            Priority: Minor
>             Fix For: 0.14.0
>         Attachments: openForExtension-v2.patch, openForExtension-v3.patch, openForExtension.patch
> For what i'm doing I found it necessary to extend HRegionServer/HRegion/HClient for some
custom functionality.
> Following good Java practice I see that the HBase code as been programmed defensively,
keeping stuff private as much as possible.
> However, for extensibility it would be nice if the servers/client were easy to extend.
> Attached is a patch that makes several methods protected instead of private, adds getters
to fields of inner classes, and some other modifications i found were useful for some simple
extension code.

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

View raw message