Carl-Zhou-CN commented on code in PR #8279:
URL: https://github.com/apache/seatunnel/pull/8279#discussion_r1888497088
##########
seatunnel-connectors-v2/connector-hbase/src/main/java/org/apache/seatunnel/connectors/seatunnel/hbase/client/HbaseClient.java:
##########
@@ -77,7 +80,31 @@ private HbaseClient(Connection connection, HbaseParameters
hbaseParameters) {
hbaseParameters.getNamespace(),
hbaseParameters.getTable()))
.pool(HTable.getDefaultExecutor(hbaseConfiguration))
-
.writeBufferSize(hbaseParameters.getWriteBufferSize());
+
.writeBufferSize(hbaseParameters.getWriteBufferSize())
+ .listener(
+ (e, mutator) -> {
+ for (int i = 0; i <
e.getNumExceptions(); i++) {
Review Comment:
the HBase client itself will also perform a certain number of retries.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]