bright-motherboard-35257
11/14/2022, 3:28 PM'[2022-11-14 15:21:02,184] ERROR {logger:26} - Please set env variable SPARK_VERSION\n'
'JAVA_HOME is not set\n'
I have JAVA_HOME set...
$ echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-11.el8.x86_64/
MY SPARK_HOME set...
$ echo $SPARK_HOME
/opt/spark
My pyspark version == 3.0.3
$ pyspark --version
22/11/14 09:23:51 WARN Utils: Your hostname, sa1x-eam-p1 resolves to a loopback address: 127.0.0.1; using 172.30.230.254 instead (on interface ens3)
22/11/14 09:23:51 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 3.0.3
/_/
Using Scala version 2.12.10, OpenJDK 64-Bit Server VM, 1.8.0_322
Branch HEAD
Compiled by user ubuntu on 2021-06-17T04:08:22Z
Revision 65ac1e75dc468f53fc778cd2ce1ba3f21067aab8
Url <https://github.com/apache/spark>
Type --help for more information.
My SPARK_VERSION set...
$ echo $SPARK_VERSION
3.0.3astonishing-answer-96712
11/14/2022, 10:15 PMbright-motherboard-35257
11/15/2022, 1:49 PMastonishing-answer-96712
11/23/2022, 6:15 PMbright-motherboard-35257
11/23/2022, 6:18 PMgray-shoe-75895
11/23/2022, 6:22 PMdatahub ingestbright-motherboard-35257
11/23/2022, 6:25 PMgray-shoe-75895
11/23/2022, 6:31 PMbright-motherboard-35257
12/08/2022, 6:45 PMgray-shoe-75895
12/08/2022, 11:55 PM/22/12/08 12:14:30 ERROR Executor: Exception in task 3.0 in stage 10.0 (TID 38)]
java.io.IOException: Cannot run program "python": error=2, No such file or directory
This error message indicates spark isn’t able to find python?gray-shoe-75895
12/08/2022, 11:56 PMbright-motherboard-35257
12/12/2022, 4:40 PM