What's the reason of pyspark error, Failed to add file [some path] specified in 'spark.submit.pyFiles' to Python path??

no_name 20 Reputation points
2023-06-15T08:46:03.1333333+00:00

I ran the pyspark source using synapse Rest api. And I sometimes get next error.

[error message : 'evalue' of response message]

Interpreter died:

error message:

/opt/spark/python/lib/pyspark.zip/pyspark/context.py:341: RuntimeWarning: Failed to add file [local:///opt/spark/python/lib/pyspark.zip] specified in 'spark.submit.pyFiles' to Python path:

....

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,375 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.