I'm trying to submit a pyspark job from a spark2 client on HDP-2.6.4-91 like
But this gives me an error:
NameError: global name "callable" 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.