From c72035a88f37223a1cdad3f0d4874d6c40771658 Mon Sep 17 00:00:00 2001 From: aiceflower Date: Mon, 24 Jul 2023 20:07:15 +0800 Subject: [PATCH] remove client close code --- .../executor/client/impl/ElasticSearchExecutorImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/executor/client/impl/ElasticSearchExecutorImpl.java b/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/executor/client/impl/ElasticSearchExecutorImpl.java index ba21ff56cf..14f96357fc 100644 --- a/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/executor/client/impl/ElasticSearchExecutorImpl.java +++ b/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/executor/client/impl/ElasticSearchExecutorImpl.java @@ -123,8 +123,5 @@ public void close() { if (cancelable != null) { cancelable.cancel(); } - if (client != null) { - client.close(); - } } }