You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by an...@apache.org on 2017/02/06 14:58:42 UTC
phoenix git commit: PHOENIX-3652 Users who do not have global access
to hbase cluster can't connect to phoenix(addendum)
Repository: phoenix
Updated Branches:
refs/heads/4.8-HBase-1.2 691fc1734 -> e05267811
PHOENIX-3652 Users who do not have global access to hbase cluster can't connect to phoenix(addendum)
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/e0526781
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/e0526781
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/e0526781
Branch: refs/heads/4.8-HBase-1.2
Commit: e052678117cd332e004ecc70e85c2910fc7394fc
Parents: 691fc17
Author: Ankit Singhal <an...@gmail.com>
Authored: Mon Feb 6 20:28:33 2017 +0530
Committer: Ankit Singhal <an...@gmail.com>
Committed: Mon Feb 6 20:28:33 2017 +0530
----------------------------------------------------------------------
.../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/e0526781/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 09f841f..ece3373 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
@@ -1518,8 +1518,8 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement
dropTables(result.getTableNamesToDelete());
}
invalidateTables(result.getTableNamesToDelete());
+ long timestamp = MetaDataUtil.getClientTimeStamp(tableMetaData);
if (tableType == PTableType.TABLE) {
- long timestamp = MetaDataUtil.getClientTimeStamp(tableMetaData);
byte[] physicalName = table.getPhysicalName().getBytes();
ensureViewIndexTableDropped(physicalName, timestamp);
ensureLocalIndexTableDropped(physicalName, timestamp);