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
ConnectionString:
Class.forName("org.apache.phoenix.jdbc.PhoenixDriver");
Connection connection = DriverManager.getConnection("jdbc:phoenix:192.168.1.xxx:2181");
Am I missing somethinghere, cz its not connecting at all.
Exception:
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, java.net.SocketTimeoutException: 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..!
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