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 2016/08/05 21:03:01 UTC

[02/50] [abbrv] phoenix git commit: PHOENIX-3061 IndexTool marks index as ACTIVE and exit 0 even if bulkload has error

PHOENIX-3061 IndexTool marks index as ACTIVE and exit 0 even if bulkload has error


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

Branch: refs/heads/encodecolumns
Commit: 7fcdf9650783504c0ae45a6ff0f7d8bc28e23750
Parents: b26936e
Author: James Taylor <ja...@apache.org>
Authored: Wed Jul 13 11:34:37 2016 +0200
Committer: James Taylor <ja...@apache.org>
Committed: Wed Jul 13 11:45:21 2016 +0200

----------------------------------------------------------------------
 .../phoenix/end2end/index/AsyncImmutableIndexIT.java  | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7fcdf965/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java
index 46bbfca..df047d6 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java
@@ -26,19 +26,29 @@ import java.sql.Connection;
 import java.sql.DatabaseMetaData;
 import java.sql.DriverManager;
 import java.sql.ResultSet;
+import java.util.Collections;
+import java.util.Map;
 import java.util.Properties;
 
-import org.apache.phoenix.end2end.BaseHBaseManagedTimeIT;
+import org.apache.phoenix.end2end.BaseOwnClusterHBaseManagedTimeIT;
 import org.apache.phoenix.schema.PIndexState;
 import org.apache.phoenix.schema.PTableType;
 import org.apache.phoenix.util.PropertiesUtil;
 import org.apache.phoenix.util.QueryUtil;
+import org.apache.phoenix.util.ReadOnlyProps;
 import org.apache.phoenix.util.StringUtil;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
-public class AsyncImmutableIndexIT extends BaseHBaseManagedTimeIT {
+public class AsyncImmutableIndexIT extends BaseOwnClusterHBaseManagedTimeIT {
     private static final long MAX_WAIT_FOR_INDEX_BUILD_TIME_MS = 45000;
     
+    @BeforeClass
+    public static void doSetup() throws Exception {
+        Map<String, String> props = Collections.emptyMap();
+        setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
+    }
+
     @Test
     public void testDeleteFromImmutable() throws Exception {
         Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);