[
https://issues.apache.org/jira/browse/HBASE-11837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113282#comment-14113282
]
Andrew Purtell commented on HBASE-11837:
----------------------------------------
Using head of branch 4.0, I couldn't reproduce with 0.98.6:
{noformat}
apurtell-ltm1:phoenix apurtell$ mvn -Dhbase.version=0.98.6-hadoop2 clean
install -Dtest=TenantSpecificTablesDDLIT -DfailIfNoTests=false
Running org.apache.phoenix.end2end.TenantSpecificTablesDDLIT
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.639 sec -
in org.apache.phoenix.end2end.TenantSpecificTablesDDLIT
Results :
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0
{noformat}
Or 0.98.5:
{noformat}
apurtell-ltm1:phoenix apurtell$ mvn -Dhbase.version=0.98.5-hadoop2 clean
install -Dtest=TenantSpecificTablesDDLIT -DfailIfNoTests=false
Running org.apache.phoenix.end2end.TenantSpecificTablesDDLIT
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.706 sec -
in org.apache.phoenix.end2end.TenantSpecificTablesDDLIT
Results :
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0
{noformat}
> Scanner from RegionCoprocessorEnvironment.getTable(TableName) returns no
> local data
> -----------------------------------------------------------------------------------
>
> Key: HBASE-11837
> URL: https://issues.apache.org/jira/browse/HBASE-11837
> Project: HBase
> Issue Type: Bug
> Components: Coprocessors
> Affects Versions: 0.98.4
> Reporter: James Taylor
>
> Might be fixed as a byproduct of the fix for HBASE-11766.
> Here's what I'm seeing:
> - From an endpoint coprocessor on SYSTEM.CATALOG table
> - Rows exist in the table, but are all in a single region
> - Scan is a new, empty scan created like this: new Scan()
> - The following scanner *does* return data:
> {code}
> RegionScanner scanner = region.getScanner(scan);
> {code}
> - The following scanner *does not* return any data:
> {code}
> HTableInterface hTable = env.getTable(region.getTableDesc().getTableName());
> {code}
> - The following scanner *does* return data:
> {code}
> HTablePool pool = new HTablePool (env.getConfiguration(),1);
> HTableInterface hTable = pool.getTable("SYSTEM.CATALOG");
> {code}
> [~jeffreyz], [~apurtell]
--
This message was sent by Atlassian JIRA
(v6.2#6252)