hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6403) RegionCoprocessorHost provides empty config when loading a coprocessor
Date Tue, 17 Jul 2012 18:19:34 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416421#comment-13416421

Zhihong Ted Yu commented on HBASE-6403:

Nice finding, Eric.

Looks like HBaseConfiguration.create() should be aware of the type of Configuration object
passed to it.
Meaning, CompoundConfiguration should be pulled into hbase-common module.
> RegionCoprocessorHost provides empty config when loading a coprocessor
> ----------------------------------------------------------------------
>                 Key: HBASE-6403
>                 URL: https://issues.apache.org/jira/browse/HBASE-6403
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Eric Newton
>            Priority: Minor
> I started playing with Giraffa.  I am running it against Hadoop 2.0.0-alpha, and current
HBase trunk.  On line 159 of RegionCoprocessorHost, the server's configuration is copied...
or at least an attempt is made to copy it.  However, the server's configuration object, a
CompoundConfiguration, does not store the data in the same way as the base Configuration object,
and so nothing is copied. This leaves the coprocessor without access to configuration values,
like the fs.defaultFS, which Giraffa is looking for.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message