在hbase寫入資料時,出現下列異常:
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 3465 actions: servers with issues: cloudgis2:60020,
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatch(HConnectionManager.java:1424)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchOfPuts(HConnectionManager.java:1438)
at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:857)
at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:713)
at org.apache.hadoop.hbase.client.HTable.put(HTable.java:691)
at GIS.OS.HBaseOperator.insertItem(HBaseOperator.java:79)
at GIS.Tiles.TileDatabase.writeTile(TileDatabase.java:41)
at GIS.Tiles.GISTest.writeData(GISTest.java:222)
at GIS.Tiles.GISTest.main(GISTest.java:474)
(1)首先看看是不是某個datanode下線了,或者空間不足
(2)可能是用戶端的writebuffer舍的過大,把writebuffer關閉,可能會解決問題