Re: Problems getting started with Apache Phoenix

2015-09-20 Thread anil gupta
@Ashutosh: Following is connection string for phoenix: jdbc:phoenix::[port]:[rootNode]:[principal]:[keytab] Only quorum is mandatory parameter. Default value of port is "2181" and default value of rootNode is "/hbase" If you are connecting to remote client, then also you just need to provide

Local and global indexes

2015-09-20 Thread Sumit Nigam
Hi, I had some doubt about local vs global indexes in Phoenix.  In my use case, I have both read and write heavy use cases against the same tables. So, is it a better idea to use local indexes?It is also going to help reduce network chatter.  Plus, my reads may issue queries which fetch

Re: Problems getting started with Apache Phoenix

2015-09-20 Thread Ashutosh Sharma
Thanks. Regarding the connection: conn = DriverManager.getConnection("jdbc:phoenix:localhost"); If i am connecting to a remote host so this string should be: conn = DriverManager.getConnection(" jdbc:phoenix:ZookeeperHost:ZookeeperPort"); ?? Do i need to do something at the remote host? The