Github user karanmehta93 commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/277#discussion_r146972829
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
---
@@ -3195,6 +3255,18 @@ public boolean releaseUpgradeMutex(byte[]
mutexRowKey) {
return released;
}
+ private byte[] getSysMutexPhysicalTableNameBytes() throws IOException,
SQLException {
+ byte[] sysMutexPhysicalTableNameBytes = null;
+ try(HBaseAdmin admin = getAdmin()) {
+
if(admin.tableExists(PhoenixDatabaseMetaData.SYSTEM_MUTEX_NAME_BYTES)) {
--- End diff --
Added it in a new commit.
---