02-07-2023 09:59 PM
I am using MultiThread in this job which creates 8 parallel jobs. It fails for few times in a day and sometimes stuck in any of the Python notebook cell process. Here
The Python process exited with an unknown exit code.
The last 10 KB of the process's stderr and stdout can be found below. See driver logs for full logs.
---------------------------------------------------------------------------
Last messages on stderr:
Tue Feb 7 17:10:18 2023 Connection to spark from PID 24461
Tue Feb 7 17:10:18 2023 Initialized gateway on port 34499
Tue Feb 7 17:10:19 2023 Connected to spark.
---------------------------------------------------------------------------
Last messages on stdout:
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.
To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.
To read more about this, see https://github.com/ipython/ipython/issues/2049
02-08-2023 05:31 AM
Hi @Mahesh Chahare , What is the DBR version you are using?
02-08-2023 05:33 AM
Hi @Lakshay Goel , 11.3 LTS (includes Apache Spark 3.3.0, Scala 2.12)
02-08-2023 05:39 AM
please try using this configuration:
spark.databricks.python.defaultPythonRepl pythonshell
02-08-2023 05:54 AM
@Lakshay Goel , I have updated it on the cluster. I'll update you whether it works for me or not. Thanks !
02-08-2023 06:02 AM
sure
02-09-2023 11:31 AM
@Lakshay Goel
Am also facing same issues.
02-10-2023 02:52 AM
Hi @Manoj Kumar , If you are facing this issue on DBR 11.x, you can enable the same configuration as above i.e. spark.databricks.python.defaultPythonRepl pythonshell
02-16-2023 08:58 PM
Yeah it's working thanks @Lakshay Goel
02-17-2023 03:10 AM
Happy to help!
02-12-2023 10:22 PM
Hello We are also facing the same issue, did check by enabling the spark.databricks.python.defaultPythonRepl pythonshell , the issue has not been solved yet
02-13-2023 04:58 AM
Could you please try running the job on DBR 10.4?
02-24-2023 05:44 AM
If you do face cluster issues. Make sure to first, restart the cluster if this one was running for a long time to get the patches, then if you can use the latest runtime. If the issue is still persistent open a ticket.
04-08-2023 12:33 AM
Hi @Mahesh Chahare
Hope everything is going great.
Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you.
Cheers!
04-24-2023 08:52 AM
Hello,
I have the same problem. After upgrading from 10.5 to 12.2 we started to face this issue. Setting
spark.databricks.python.defaultPythonRepl pythonshell didn't help
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group