Support Questions
Find answers, ask questions, and share your expertise

pyspark NameError: global name "callable" is not defined

pyspark NameError: global name "callable" is not defined

Explorer

62938-pyspark.png

I'm trying to submit a pyspark job from a spark2 client on HDP-2.6.4-91 like

./bin/spark-submit script.py

But this gives me an error:

NameError: global name "callable" not defined.
1 REPLY 1

Re: pyspark NameError: global name "callable" is not defined

Is it an issue with a variable used in the code but not defined? Very difficult to say using the limited details you have provided.