0

Getting a NullPointerException thrown by the worker when it tries to access a SparkContext object that's present on the driver but worker is throwing null.

However, working fine the local but failing on the cluster.

Any help???

Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
  • Without the logs and stacktrace, it'll be impossible to help. Look at the logs and see where it's being thrown. – Tim Aug 16 '22 at 09:48
  • Does this answer your question? [What is a NullPointerException, and how do I fix it?](https://stackoverflow.com/questions/218384/what-is-a-nullpointerexception-and-how-do-i-fix-it) – Olaf Kock Aug 16 '22 at 12:30

0 Answers0