hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8684) Table Coprocessor can't access external HTable by default
Date Thu, 06 Jun 2013 05:00:21 GMT

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

Hudson commented on HBASE-8684:
-------------------------------

Integrated in hbase-0.95 #227 (See [https://builds.apache.org/job/hbase-0.95/227/])
    HBASE-8684: Table Coprocessor can't access external HTable by default - ADDENDUM: moving
test to correct package (Revision 1490075)
HBASE-8684: Table Coprocessor can't access external HTable by default (Revision 1490047)

     Result = SUCCESS
jyates : 
Files : 
* /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/TestOpenTableInCoprocessor.java
* /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestOpenTableInCoprocessor.java

jyates : 
Files : 
* /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
* /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/TestOpenTableInCoprocessor.java

                
> Table Coprocessor can't access external HTable by default
> ---------------------------------------------------------
>
>                 Key: HBASE-8684
>                 URL: https://issues.apache.org/jira/browse/HBASE-8684
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: 0.98.0, 0.95.1, 0.94.9
>
>         Attachments: 8684-trunk.txt, hbase-8684-0.94-addendum.patch, hbase-8684-0.94-v0.patch,
hbase-8684-0.94-v1.patch, hbase-8684-0.94-v2.patch, hbase-8684-0.94-v3.patch, hbase-8684-0.94-v4.patch,
hbase-8684-trunk-addendum.patch, hbase-8684-trunk-v1.patch
>
>
> With the default configuration passed to a RegionCoprocessor environment, you cannot
reach an HTable on the same cluster (at least in 0.94 - no verified yet in 0.96/8). The reason
is in the usage of CompoundConfiguration (backported to 0.94 in HBASE-8176) when loading a
table coprocessor we just do (RegionCoprocessorHost, ln 182):
> {code}
> Configuration newConf = new Configuration(conf);
> // set per-table cfspec properties
> {code}
> but the conf we pass in a CompoundConfiguration, which means the copy constructor from
Configuration doesn't work at all. 
> So, we really need two things:
>  1. A test that we can reach another HTable in the same cluster via a coprocessor by
default
>  2. Fixing the configuration creation in RegionCoprocessorHost to support (1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message