[
https://issues.apache.org/jira/browse/PHOENIX-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid resolved PHOENIX-159.
----------------------------------
Resolution: Fixed
Bulk resolve of closed issues imported from GitHub. This status was reached by
first re-opening all closed imported issues and then resolving them in bulk.
> Will not connect to a non-default port
> --------------------------------------
>
> Key: PHOENIX-159
> URL: https://issues.apache.org/jira/browse/PHOENIX-159
> Project: Phoenix
> Issue Type: Task
> Affects Versions: 1.1
> Reporter: Robert Dyer
> Assignee: mujtaba
>
> If I try connecting to a ZK node that is not on port 2181, it ignores the
> connect string's port and still tries using the default 2181.
> ```
> $ java -jar phoenix-1.0-client.jar zk2:2222 examples/stock_symbol.sql
> 13/01/30 18:12:42 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=zk2:2181 sessionTimeout=180000 watcher=hconnection
> 13/01/30 18:12:42 INFO zookeeper.ClientCnxn: Opening socket connection to
> server /192.168.0.52:2181
> 13/01/30 18:12:42 INFO zookeeper.RecoverableZooKeeper: The identifier of this
> process is 25176@nn1
> 13/01/30 18:12:42 INFO client.ZooKeeperSaslClient: Client will not
> SASL-authenticate because the default JAAS configuration section 'Client'
> could not be found. If you are not using SASL, you may ignore this. On the
> other hand, if you expected SASL to work, please fix your JAAS configuration.
> 13/01/30 18:12:42 WARN zookeeper.ClientCnxn: Session 0x0 for server null,
> unexpected error, closing socket connection and attempting reconnect
> ```
--
This message was sent by Atlassian JIRA
(v6.2#6252)