Repository: phoenix Updated Branches: refs/heads/4.0 7654bb585 -> 785a832f3
PHOENIX-1736 Use non deprecated APIs where possible Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/785a832f Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/785a832f Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/785a832f Branch: refs/heads/4.0 Commit: 785a832f3a441d811328e049abe14c4a3b7dfcb6 Parents: 7654bb5 Author: James Taylor <[email protected]> Authored: Sat Mar 14 09:47:06 2015 -0700 Committer: James Taylor <[email protected]> Committed: Sat Mar 14 09:48:13 2015 -0700 ---------------------------------------------------------------------- .../src/test/java/org/apache/phoenix/query/BaseTest.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/785a832f/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java index 9947440..e4ec56a 100644 --- a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java +++ b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java @@ -485,8 +485,7 @@ public abstract class BaseTest { } /** - * Set up the test hbase cluster. - * @param props TODO + * Set up the test hbase cluster. * @return url to be used by clients to connect to the cluster. */ protected static String setUpTestCluster(@Nonnull Configuration conf, ReadOnlyProps overrideProps) { @@ -631,7 +630,7 @@ public abstract class BaseTest { * the threads limit imposed by the OS. */ conf.setInt(HConstants.REGION_SERVER_HANDLER_COUNT, 5); - conf.setInt(HConstants.REGION_SERVER_META_HANDLER_COUNT, 2); + conf.setInt("hbase.regionserver.metahandler.count", 2); conf.setInt(HConstants.MASTER_HANDLER_COUNT, 2); conf.setClass("hbase.coprocessor.regionserver.classes", LocalIndexMerger.class, RegionServerObserver.class); @@ -769,6 +768,7 @@ public abstract class BaseTest { protected static void deletePriorTables(long ts, String tenantId, String url) throws Exception { Properties props = new Properties(); + props.put(QueryServices.QUEUE_SIZE_ATTRIB, Integer.toString(1024)); if (ts != HConstants.LATEST_TIMESTAMP) { props.setProperty(CURRENT_SCN_ATTRIB, Long.toString(ts)); } @@ -842,6 +842,8 @@ public abstract class BaseTest { conn = DriverManager.getConnection(url, props); lastTenantId = tenantId; } + + logger.info("DROP SEQUENCE STATEMENT: DROP SEQUENCE " + SchemaUtil.getEscapedTableName(rs.getString(2), rs.getString(3))); conn.createStatement().execute("DROP SEQUENCE " + SchemaUtil.getEscapedTableName(rs.getString(2), rs.getString(3))); } }
