peaceUser peaceUser - 1 year ago 252
Java Question

JDBC Phoenix driver for HBASE, retries 36 and throws exception

I have a standalone HBase installed in a server(Remote).
I written a Java Client, which communicates using Phoenix, and saw it tries for 36 attempts and hence throws exception.

HBase-Version : 1.1.5
Phoenix-core: 4.8.0-HBase-1.1


Connection connection = DriverManager.getConnection("");

Am I missing somethinghere, cz its not connecting at all.


Exception in thread "main" java.sql.SQLException: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
Mon Oct 17 11:50:18 IST 2016, null, callTimeout=60000, callDuration=80992: row 'SYSTEM:CATALOG,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=HOSTNAME,16201,1476683863488, seqNum=0

Can some one help me out..!

Answer Source

Well its internal ip mapping error,
Anybody, struggles first push of the request towards server, please makesure the host string is configured. Modifying host here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download