Repository: phoenix Updated Branches: refs/heads/4.9-HBase-0.98 a2d074304 -> f3117248f
PHOENIX-3535 Addendum to fix test failures Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/f3117248 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/f3117248 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/f3117248 Branch: refs/heads/4.9-HBase-0.98 Commit: f3117248ff7141c6f67f5bd5aa1ad45d7126d011 Parents: a2d0743 Author: Samarth <samarth.j...@salesforce.com> Authored: Wed Dec 21 17:45:55 2016 -0800 Committer: Samarth <samarth.j...@salesforce.com> Committed: Wed Dec 21 17:45:55 2016 -0800 ---------------------------------------------------------------------- .../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/f3117248/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java index 97836c1..fc0925d 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java @@ -2372,7 +2372,6 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement hConnectionEstablished = true; boolean isDoNotUpgradePropSet = UpgradeUtil.isNoUpgradeSet(props); try (HBaseAdmin admin = getAdmin()) { - createSysMutexTable(admin); boolean mappedSystemCatalogExists = admin .tableExists(SchemaUtil.getPhysicalTableName(SYSTEM_CATALOG_NAME_BYTES, true)); if (SchemaUtil.isNamespaceMappingEnabled(PTableType.SYSTEM, @@ -2390,6 +2389,7 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement + " is found but client does not have " + IS_NAMESPACE_MAPPING_ENABLED + " enabled") .build().buildException(); } + createSysMutexTable(admin); } Properties scnProps = PropertiesUtil.deepCopy(props); scnProps.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB,