Spark Mllib Hadoop Core powered by Miri Infotech
Jun 28, 2024
> /etc/hosts Then run the command vi /etc/hosts and exit the file by pressing the button Esc and then enter :wq then press enter. Step 3: Use following Linux command to start spark Command- ssh-keygen -t rsa -P "" This command is used to generate the ssh key. You just have to press Enter button where it asks you in which file to save the key. Command- cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys This command is used to move the generated ssh key to the desired location Command- hdfs namenode –formatCommand- start-all.sh You have to write “yes” when it prompts you – Are you sure you want to continue? Step 4: After the above command executes successfully, you should check the below urls in the browser - http://
:8088Step 5: Type the following command to start spark console: Command- spark-shell Step 6: Check the URL in your browser as http://
:4040 and enjoy the application.">