peacewong opened a new issue, #5196:
URL: https://github.com/apache/linkis/issues/5196

   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/linkis/issues) and 
found no similar issues.
   
   
   ### Linkis Component
   
   linkis-engineconnn-plugin
   
   ### Steps to reproduce
   
   1. execute pyspark task 
   2. java thread hang
   ```
   "TaskExecution-Thread-1" #144 daemon prio=5 os_prio=0 tid=0x00007f154800f000 
nid=0x6fd8 runnable [0x00007f14efd6e000]
      java.lang.Thread.State: RUNNABLE
           at java.io.FileInputStream.readBytes(Native Method)
           at java.io.FileInputStream.read(FileInputStream.java:255)
           at 
sun.security.provider.NativePRNG$RandomIO.readFully(NativePRNG.java:424)
           at 
sun.security.provider.NativePRNG$RandomIO.ensureBufferValid(NativePRNG.java:525)
           at 
sun.security.provider.NativePRNG$RandomIO.implNextBytes(NativePRNG.java:544)
           - locked <0x00000000c074f570> (a java.lang.Object)
           at 
sun.security.provider.NativePRNG$RandomIO.access$400(NativePRNG.java:331)
           at 
sun.security.provider.NativePRNG$Blocking.engineNextBytes(NativePRNG.java:268)
           at java.security.SecureRandom.nextBytes(SecureRandom.java:468)
           at java.security.SecureRandom.next(SecureRandom.java:491)
           at java.util.Random.nextInt(Random.java:390)
           at 
org.apache.linkis.engineplugin.spark.executor.SecureRandomStringUtils.random(SecureRandomStringUtils.java:182)
           at 
org.apache.linkis.engineplugin.spark.executor.SecureRandomStringUtils.random(SecureRandomStringUtils.java:99)
           at 
org.apache.linkis.engineplugin.spark.executor.SecureRandomStringUtils.random(SecureRandomStringUtils.java:76)
           at 
org.apache.linkis.engineplugin.spark.executor.SecureRandomStringUtils.randomAlphanumeric(SecureRandomStringUtils.java:60)
           at 
org.apache.linkis.engineplugin.spark.executor.SparkPythonExecutor.py4jToken$lzycompute(SparkPythonExecutor.scala:79)
   ```
   
   ### Expected behavior
   
   do not stuck.
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment 
information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: 1.1.2
   - Environment name and version:
       - cdh-5.14.2
       - hdp-3.1.5
       - hive-2.1.1
       - spark-3.2.1
       - scala-2.12.2
       - jdk 1.8.0_121
       - ....
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: notifications-unsubscr...@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@linkis.apache.org
For additional commands, e-mail: notifications-h...@linkis.apache.org

Reply via email to