Updated.


On 2/11/13 6:51 PM, "James Taylor" <notifications@github.com> wrote:

In src/main/java/com/salesforce/phoenix/jdbc/PhoenixEmbeddedDriver.java:
> @@ -83,7 +85,8 @@ protected static String getZookeeperQuorum(String url) throws SQLException {
>          if (endIndex > begIndex) {
>              return url.substring(begIndex, endIndex);
>          }
> -        throw new SQLException("Zookeeper quorum not found in connection url \"" + url +"\"");
> +        throw new SQLExceptionInfo.Builder(SQLExceptionCodeEnum.CANNOT_CONNECT_TO_ZOOKEEPER)
Actually, this is an illegal argument exception - the jdbc connection string is missing some expected information (i.e. the zookeeper quorum name is missing). It's not a connection failure at all. Can you update this one please?


-
 Reply to this email directly or view it on GitHub <https://github.com/forcedotcom/phoenix/pull/35/files#r2973023> .