BDC Output 6
BDC Output 6
1st Step:
Make sure all the VM’s have the following network configuration on
Apapter 2:
3rd Step:
Let’s change the hostname on each virtual machine. Open the file and
type the name of the machina. Use this command:
Now let’s figure out what our ip address is. To do that just type the
command:
ip addr
master: 192.168.205.10
slave1: 192.168.205.11
slave2: 192.168.205.12
5th Step:
7th Step:
This is the most recent version as of the writing of this arcticle, it might
have changed
if you try it later. Anyway, I think you’ll still be good using this one.
Use the following command to move the spark software files to respective
directory (/usr/local/bin)
$ sudo mv spark-2.4.4-bin-hadoop2.7 /usr/local/spark
Add the following line to the file. This adds the location where the spark
software file are located to the PATH variable.
9th Step:
Apache Spark Master Configuration (do this step on the Master VM only)
Edit spark-env.sh
Move to spark conf folder and create a copy of the template of spark-
env.sh
and rename it.
$ cd /usr/local/spark/conf
$ cp spark-env.sh.template spark-env.sh