Member since
07-06-2020
2
Posts
0
Kudos Received
0
Solutions
07-29-2020
03:33 AM
After installing CDSW 1.6 on Cloudera 7.1, in every job I start I see this message: FileNotFoundError: [Errno 2] No such file or directory: '{{SPARK_HOME}}/./bin/spark-submit': '{{SPARK_HOME}}/./bin/spark-submit' After re-installing Spark gateway and adding Hive and hdfs instances on the machine with CDSW nothing has changed. spark-shell works fine. After some investigation, I've changed file /var/lib/cdsw/client-config/spark-conf/ spark-defaults.conf , namely, export SPARK_HOME= {{SPARK_HOME}} to an actual value of SPARK_HOME. It helped, and the exception was gone. But it feels like a hack or a bug, and I would like to know if there's a better way to solve this?
... View more
Labels: