You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by la...@apache.org on 2019/12/19 08:55:52 UTC
[phoenix] branch 4.x-HBase-1.3 updated: PHOENIX-5617 Allow using
the server side JDBC client in Phoenix Sandbox.
This is an automated email from the ASF dual-hosted git repository.
larsh pushed a commit to branch 4.x-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x-HBase-1.3 by this push:
new 8f4d9b2 PHOENIX-5617 Allow using the server side JDBC client in Phoenix Sandbox.
8f4d9b2 is described below
commit 8f4d9b2d75e68f318f0bca5bec17556e0d9bde77
Author: Lars Hofhansl <la...@apache.org>
AuthorDate: Thu Dec 19 00:55:04 2019 -0800
PHOENIX-5617 Allow using the server side JDBC client in Phoenix Sandbox.
---
phoenix-core/src/it/java/org/apache/phoenix/Sandbox.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/Sandbox.java b/phoenix-core/src/it/java/org/apache/phoenix/Sandbox.java
index ec4e920..102e97c 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/Sandbox.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/Sandbox.java
@@ -18,10 +18,12 @@
package org.apache.phoenix;
import com.google.common.collect.ImmutableMap;
+
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HBaseTestingUtility;
import org.apache.phoenix.query.BaseTest;
+import org.apache.phoenix.query.QueryServices;
import org.apache.phoenix.util.ReadOnlyProps;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -37,7 +39,9 @@ public class Sandbox {
public static void main(String[] args) throws Exception {
System.out.println("Starting Phoenix sandbox");
Configuration conf = HBaseConfiguration.create();
- BaseTest.setUpConfigForMiniCluster(conf, new ReadOnlyProps(ImmutableMap.<String, String>of()));
+ // unset test=true parameter
+ BaseTest.setUpConfigForMiniCluster(conf, new ReadOnlyProps(
+ ImmutableMap.<String, String> of(QueryServices.EXTRA_JDBC_ARGUMENTS_ATTRIB, "")));
final HBaseTestingUtility testUtil = new HBaseTestingUtility(conf);
testUtil.startMiniCluster();