We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f89dd6c commit 2397312Copy full SHA for 2397312
src/main/java/com/alipay/oceanbase/rpc/ObTableClient.java
@@ -4293,7 +4293,11 @@ public enum RunningMode {
4293
}
4294
4295
private ObTableClientType getClientType(RunningMode runningMode) {
4296
- return runningMode == RunningMode.HBASE ? ObTableClientType.JAVA_HBASE_CLIENT : ObTableClientType.JAVA_TABLE_CLIENT;
+ if (ObGlobal.isDistributedExecSupport()) {
4297
+ return runningMode == RunningMode.HBASE ? ObTableClientType.JAVA_HBASE_CLIENT : ObTableClientType.JAVA_TABLE_CLIENT;
4298
+ } else {
4299
+ return ObTableClientType.JAVA_TABLE_CLIENT;
4300
+ }
4301
4302
4303
/**
0 commit comments