phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajeshb...@apache.org
Subject phoenix git commit: PHOENIX-2254 zookeeper.znode.parent value is not taking affect in MR integration job-addendum(Rajeshbabu)
Date Wed, 07 Oct 2015 17:44:38 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 9a185dd4f -> eb463e9b9


PHOENIX-2254 zookeeper.znode.parent value is not taking affect in MR integration job-addendum(Rajeshbabu)


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

Branch: refs/heads/4.x-HBase-0.98
Commit: eb463e9b95e2dbdd82150533dafb09a4061bc884
Parents: 9a185dd
Author: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Authored: Wed Oct 7 23:19:14 2015 +0530
Committer: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Committed: Wed Oct 7 23:19:14 2015 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/util/QueryUtil.java      | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/eb463e9b/phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java b/phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java
index 9ec0efc..6506184 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java
@@ -249,6 +249,13 @@ public final class QueryUtil {
         return getUrlInternal(zkQuorum, port, znodeParent);
     }
 
+    /**
+     * Create the Phoenix JDBC connection URL from the provided cluster connection details.
+     */
+    public static String getUrl(String zkQuorum, Integer port, String znodeParent) {
+        return getUrlInternal(zkQuorum, port, znodeParent);
+    }
+
     private static String getUrlInternal(String zkQuorum, Integer port, String znodeParent)
{
         return new PhoenixEmbeddedDriver.ConnectionInfo(zkQuorum, port, znodeParent).toUrl()
                 + PhoenixRuntime.JDBC_PROTOCOL_TERMINATOR;


Mime
View raw message