I am trying to install a spark stand-alone-cluster on CentOS8 and keep getting a connection reset when trying to access the webUI of the master after I start it. Am I missing something? Help please.
I have:
- installed java:
openjdk version "1.8.0_302" OpenJDK Runtime Environment (build 1.8.0_302-b08) OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode)
Installed scala:
Scala code runner version 2.10.6 -- Copyright 2002-2013, LAMP/EPFL
/usr/lib/scala -> /usr/lib/scala3-3.0.1/
- Installed spark:
scala -> /usr/lib/scala3-3.0.1/
- configured bash profile with environmental variables in .bash_profile:
export PATH=$PATH/user/lib/scala/bin export SPARK_HOME=/opt/spark export PATH=$PATH:$SPARK_HOME/bin
- opened up some ports in the firewall:
ports: 6066/tcp 7077/tcp 8080-8081/tcp
- added config to spark-env.sh
SPARK_LOCAL_IP='localhost' SPARK_MASTER_IP='spark-master' SPARK_MASTER_PORT='7077'
started the master using start-master.sh
Using firefox to go to http://localhost:7077 - but keep getting a connection reset