我在服務器(遠程)中安裝了獨立的HBase。 我編寫了一個Java客戶端,它使用Phoenix進行通信,並看到它嘗試了36次嘗試並因此拋出異常。
用於HBASE的JDBC Phoenix驅動程序,重試36並拋出異常
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");
我錯過somethinghere,CZ其不連接的。
例外:
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
有人可以幫我..!
請看看[this](https://groups.google.com/forum/#!topic/nosql-databases/yr9GKevhezs),可能有幫助...可能是區域服務器問題! –
默認情況下是否訪問HadoopSystems?有關此問題的任何想法? – peaceUser
我不確定@peaceUser –