phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <vikram.kondadas...@barclays.com>
Subject Jdbc connection issue
Date Wed, 05 Oct 2016 19:15:33 GMT
Hi,

I am trying to connect to phoenix using jdbc  and getting the following exception. However
the master is running and I can connect sqlline and hbase shell.
The exception is not making any sense  to me.

org.apache.phoenix.exception.PhoenixIOException: Failed after attempts=35, exceptions:
Wed Oct 05 14:49:14 EDT 2016, RpcRetryingCaller{globalStartTime=1475693354012, pause=100,
retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException:
org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Call to ldnpsr000001635.intranet.barcapint.com/10.69.64.176:60000
failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException:
Connection to ldnpsr000001635.intranet.barcapint.com/10.69.64.176:60000 is closing. Call id=0,
waitTime=188

                at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:108)
                at org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:889)
                at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1223)
                at org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:113)
                at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1937)
                at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:751)
                at org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:186)
                at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:320)
                at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:312)
                at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
                at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:310)
                at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1422)
                at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1927)
                at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1896)
                at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77)
                at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1896)
                at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:180)
                at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:132)
                at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:151)
                at java.sql.DriverManager.getConnection(DriverManager.java:579)
                at java.sql.DriverManager.getConnection(DriverManager.java:190)
                at com.barclays.fabric.phoenix.PhoenixDAO.execute(PhoenixDAO.java:27)
                at com.barclays.fabric.phoenix.FPrivilegedAction.run(FPrivilegedAction.java:15)
                at java.security.AccessController.doPrivileged(Native Method)
                at javax.security.auth.Subject.doAs(Subject.java:356)
                at com.barclays.fabric.phoenix.ConnectionTest.main(ConnectionTest.java:33)

Vikran

_______________________________________________

This message is for information purposes only, it is not a recommendation, advice, offer or
solicitation to buy or sell a product or service nor an official confirmation of any transaction.
It is directed at persons who are professionals and is not intended for retail customer use.
Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer.

For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding
market commentary from Barclays Sales and/or Trading, who are active market participants;
and in respect of Barclays Research, including disclosures relating to specific issuers, please
see http://publicresearch.barclays.com.

_______________________________________________

Mime
View raw message