Skip to content

Commit 7a39ecb

Browse files
committed
[Fix][Connector-V2] Fix hive client thread unsafe
1 parent 38ac06b commit 7a39ecb

File tree

1 file changed

+1
-1
lines changed
  • seatunnel-connectors-v2/connector-hive/src/main/java/org/apache/seatunnel/connectors/seatunnel/hive/utils

1 file changed

+1
-1
lines changed

seatunnel-connectors-v2/connector-hive/src/main/java/org/apache/seatunnel/connectors/seatunnel/hive/utils/HiveMetaStoreProxy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class HiveMetaStoreProxy implements Closeable, Serializable {
6464
private final String keytabPath;
6565
private final String remoteUser;
6666

67-
private HiveMetaStoreClient hiveClient;
67+
private transient HiveMetaStoreClient hiveClient;
6868

6969
public HiveMetaStoreProxy(ReadonlyConfig config) {
7070
this.metastoreUri = config.get(HiveOptions.METASTORE_URI);

0 commit comments

Comments
 (0)