You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by gj...@apache.org on 2019/11/11 22:30:36 UTC
[phoenix] 03/03: PHOENIX-5560 - View Index Tables created
incorrectly with IndexRegionObserver (addendum)
This is an automated email from the ASF dual-hosted git repository.
gjacoby pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit c8ae4b0a20083b32526d3183a8302dc2d83b4c4d
Author: Geoffrey Jacoby <gj...@apache.org>
AuthorDate: Mon Nov 11 14:25:23 2019 -0800
PHOENIX-5560 - View Index Tables created incorrectly with IndexRegionObserver (addendum)
---
.../src/it/java/org/apache/phoenix/end2end/index/ViewIndexIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ViewIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ViewIndexIT.java
index 9da0e50..79a75a1 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ViewIndexIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ViewIndexIT.java
@@ -38,9 +38,9 @@ import java.util.Collection;
import java.util.List;
import java.util.Properties;
+import org.apache.hadoop.hbase.HTableDescriptor;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Admin;
-import org.apache.hadoop.hbase.client.TableDescriptor;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.phoenix.compile.QueryPlan;
import org.apache.phoenix.end2end.IndexToolIT;
@@ -283,7 +283,7 @@ public class ViewIndexIT extends SplitSystemCatalogIT {
createViewIndex(conn, schemaName, globalViewIdx, globalView, "K1");
//now check that the right coprocs are installed
Admin admin = conn.getQueryServices().getAdmin();
- TableDescriptor td = admin.getTableDescriptor(TableName.valueOf(
+ HTableDescriptor td = admin.getTableDescriptor(TableName.valueOf(
MetaDataUtil.getViewIndexPhysicalName(SchemaUtil.getPhysicalHBaseTableName(
schemaName, baseTable, isNamespaceMapped).getString())));
assertTrue(td.hasCoprocessor(GlobalIndexChecker.class.getName()));