You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by sa...@apache.org on 2017/09/08 18:37:17 UTC

phoenix git commit: PHOENIX-4184 Reduce flappiness of FlappingAlterTableIT

Repository: phoenix
Updated Branches:
  refs/heads/master 6775dc5c4 -> 0e7902308


PHOENIX-4184 Reduce flappiness of FlappingAlterTableIT


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

Branch: refs/heads/master
Commit: 0e79023088bc19b6cbdb022149c3f80285a5d25c
Parents: 6775dc5
Author: Samarth Jain <sa...@apache.org>
Authored: Fri Sep 8 11:36:41 2017 -0700
Committer: Samarth Jain <sa...@apache.org>
Committed: Fri Sep 8 11:37:10 2017 -0700

----------------------------------------------------------------------
 .../it/java/org/apache/phoenix/end2end/FlappingAlterTableIT.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/0e790230/phoenix-core/src/it/java/org/apache/phoenix/end2end/FlappingAlterTableIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/FlappingAlterTableIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/FlappingAlterTableIT.java
index a57088a..e090b98 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/FlappingAlterTableIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/FlappingAlterTableIT.java
@@ -53,7 +53,7 @@ public class FlappingAlterTableIT extends ParallelStatsDisabledIT {
                 +"CREATED_DATE DATE,\n"
                 +"CREATION_TIME BIGINT,\n"
                 +"LAST_USED DATE,\n"
-                +"CONSTRAINT PK PRIMARY KEY (ID1, ID2)) SALT_BUCKETS = 8";
+                +"CONSTRAINT PK PRIMARY KEY (ID1, ID2))";
         Connection conn1 = DriverManager.getConnection(getUrl(), props);
         conn1.createStatement().execute(ddl);
         ddl = "ALTER TABLE " + dataTableFullName + " ADD CF.STRING VARCHAR";
@@ -77,7 +77,7 @@ public class FlappingAlterTableIT extends ParallelStatsDisabledIT {
                 +"CREATED_DATE DATE,\n"
                 +"CREATION_TIME BIGINT,\n"
                 +"LAST_USED DATE,\n"
-                +"CONSTRAINT PK PRIMARY KEY (ID1, ID2)) SALT_BUCKETS = 8, TTL = 1000";
+                +"CONSTRAINT PK PRIMARY KEY (ID1, ID2)) TTL = 1000";
         Connection conn1 = DriverManager.getConnection(getUrl(), props);
         conn1.createStatement().execute(ddl);
         ddl = "ALTER TABLE " + dataTableFullName + " ADD CF.STRING VARCHAR";