Hi Durga, What is the format of connection url? You have to specify keytab and principal in the url:
jdbc:phoenix:<host>:<port>:<principal>:<keytab> Have you added hbase-site.xml and core-site.xml files in the classpath? If everything is correct then stop zookeeper, run zookeeper cleanup command and restart zookeeper. Thanks, Akhilesh On Tue, Dec 29, 2015 at 5:20 PM, Ns G <nsgns...@gmail.com> wrote: > Hi All, > > I have written a simple class to access phoenix. > I am able to establish connection. But when executing below line i get the > error. > > conn = DriverManager.getConnection(dbUrl); > > I am facing below exception when accessing phoenix through JDBC from > eclipse. > > > INFO - Call exception, tries=25, retries=35, started=388547 ms ago, > cancelled=false, msg= > INFO - Call exception, tries=26, retries=35, started=410087 ms ago, > cancelled=false, msg= > INFO - Call exception, tries=27, retries=35, started=431608 ms ago, > cancelled=false, msg= > INFO - Call exception, tries=28, retries=35, started=452849 ms ago, > cancelled=false, msg= > > and finally > > it gives me error like > > org.apache.hadoop.hbase.MasterNotRunningException: > com.google.protobuf.ServiceException: > org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Call to > > > > any idea what may be the issue? > > Thanks, > Durga Prasad >