Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.4 46cdaf62c -> 3572acc98
PHOENIX-5074; fix compilation failure. Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/3572acc9 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/3572acc9 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/3572acc9 Branch: refs/heads/4.x-HBase-1.4 Commit: 3572acc98a0f6aca56839a6b3f6a6f2652dfeef1 Parents: 46cdaf6 Author: Lars Hofhansl <[email protected]> Authored: Tue Dec 25 02:15:29 2018 -0800 Committer: Lars Hofhansl <[email protected]> Committed: Tue Dec 25 02:15:29 2018 -0800 ---------------------------------------------------------------------- .../it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/3572acc9/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java index a4cd354..6aaf703 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java @@ -57,10 +57,10 @@ public class DropTableWithViewsIT extends SplitSystemCatalogIT { public static void doSetup() throws Exception { SplitSystemCatalogIT.doSetup(); TaskRegionEnvironment = - getUtility() + (RegionCoprocessorEnvironment)getUtility() .getRSForFirstRegionInTable( PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME) - .getRegions(PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME) + .getOnlineRegions(PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME) .get(0).getCoprocessorHost() .findCoprocessorEnvironment(TaskRegionObserver.class.getName()); }
