phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sama...@apache.org
Subject phoenix git commit: PHOENIX-4201 Addendum to clear cache in deleteMetadata
Date Tue, 12 Sep 2017 22:01:30 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 9554611b3 -> 8f2b2be26


PHOENIX-4201 Addendum to clear cache in deleteMetadata


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/8f2b2be2
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/8f2b2be2
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/8f2b2be2

Branch: refs/heads/4.x-HBase-1.2
Commit: 8f2b2be26c0a369a4ef1a87f3b3a92b8848867fa
Parents: 9554611
Author: Samarth Jain <samarth@apache.org>
Authored: Tue Sep 12 15:01:25 2017 -0700
Committer: Samarth Jain <samarth@apache.org>
Committed: Tue Sep 12 15:01:25 2017 -0700

----------------------------------------------------------------------
 .../it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8f2b2be2/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java
index 0561843..f809e2c 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java
@@ -101,6 +101,7 @@ public class QueryDatabaseMetaDataIT extends ParallelStatsDisabledIT {
             delete = "DELETE FROM \"SYSTEM\".\"SEQUENCE\"";
             conn.createStatement().executeUpdate(delete);
             conn.commit();
+            conn.unwrap(PhoenixConnection.class).getQueryServices().clearCache();
         }
     }
 


Mime
View raw message