Fixed.


On 2/11/13 6:56 PM, "James Taylor" <notifications@github.com> wrote:

In src/main/java/com/salesforce/phoenix/query/ConnectionQueryServicesImpl.java:
> @@ -84,10 +85,11 @@ public ConnectionQueryServicesImpl(QueryServices services, final Configuration c
>          try {
>              this.connection = HConnectionManager.createConnection(config);
>          } catch (ZooKeeperConnectionException e) {
> -            throw new SQLException(e);
> +            throw new SQLExceptionInfo.Builder(SQLExceptionCodeEnum.CANNOT_CONNECT_TO_ZOOKEEPER)
This exception should match the one below: CANNOT_ESTABLISH_CONNECTION. This is a standard sql state, right? This failure case is the same as the one below.


-
 Reply to this email directly or view it on GitHub <https://github.com/forcedotcom/phoenix/pull/35/files#r2973065> .