This is an automated email from the ASF dual-hosted git repository.
jackxu2011 pushed a commit to branch dev-1.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.3.0 by this push:
new b3cf6d680 fix issue #3200
b3cf6d680 is described below
commit b3cf6d680495eff0aef0604008888d6dfe127b79
Author: peacewong <[email protected]>
AuthorDate: Thu Sep 1 20:11:32 2022 +0800
fix issue #3200
---
linkis-engineconn-plugins/python/src/main/resources/python/python.py | 2 +-
.../spark/src/main/resources/python/mix_pyspark.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/linkis-engineconn-plugins/python/src/main/resources/python/python.py
b/linkis-engineconn-plugins/python/src/main/resources/python/python.py
index 1d06bdbcb..1b040a2bb 100644
--- a/linkis-engineconn-plugins/python/src/main/resources/python/python.py
+++ b/linkis-engineconn-plugins/python/src/main/resources/python/python.py
@@ -219,7 +219,7 @@ def java_watchdog_thread(sleep=10):
print(e)
sys.exit(1)
watchdog_thread = threading.Thread(target=java_watchdog_thread)
-watchdog_thread.setDaemon(True)
+watchdog_thread.daemon = True
watchdog_thread.start()
while True :
diff --git
a/linkis-engineconn-plugins/spark/src/main/resources/python/mix_pyspark.py
b/linkis-engineconn-plugins/spark/src/main/resources/python/mix_pyspark.py
index 7f83ab78a..b81697def 100644
--- a/linkis-engineconn-plugins/spark/src/main/resources/python/mix_pyspark.py
+++ b/linkis-engineconn-plugins/spark/src/main/resources/python/mix_pyspark.py
@@ -240,7 +240,7 @@ def java_watchdog_thread(sleep=10):
print(e)
sys.exit(1)
watchdog_thread = threading.Thread(target=java_watchdog_thread)
-watchdog_thread.setDaemon(True)
+watchdog_thread.daemon = True
watchdog_thread.start()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]