Hi Talebzadeh, thank you for your answer. I am sorry, but I don't undertand what I need to do. It seems that I already put SPARK_HOME/sbin in my path as I have this line among the 3 lines I have sent in my initial email:
echo "export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin" >> ~/.profile Isn't it? Also should I remove the "echo" as it seems you don't have them in your commands. I am following this tutorial: https://phoenixnap.com/kb/install-spark-on-ubuntu but installing Spark 3.1.1 with Hadoop 2.7. Thank you for any help. Ferdinand -- «Ce dont le monde a le plus besoin, c'est d'hommes, non pas des hommes qu'on achète et qui se vendent, mais d'hommes profondément loyaux et intègres, des hommes qui ne craignent pas d'appeler le péché par son nom, des hommes dont la conscience soit aussi fidèle à son devoir que la boussole l'est au pôle, des hommes qui défendraient la justice et la vérité même si l'univers s'écroulait.» Ellen Gould WHITE, education, P. 55 Le Lundi, Mars 29, 2021 18:57 GMT, Mich Talebzadeh <mich.talebza...@gmail.com> a écrit: In my case export SPARK_HOME=/d4T/hduser/spark-3.1.1-bin-hadoop3.2export PATH=$SPARK_HOME/bin:$SPARK_HOME/sbin:$PATH which start-master.sh/d4T/hduser/spark-3.1.1-bin-hadoop3.2/sbin/start-master.sh You need to add $SPARK_HOME/sbin to your path as well HTH view my Linkedin profile Disclaimer: Use it at your own risk. Any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on this email's technical content is explicitly disclaimed. The author will in no case be liable for any monetary damages arising from such loss, damage or destruction. On Mon, 29 Mar 2021 at 19:19, GUINKO Ferdinand <tonguimferdin...@guinko.net> wrote:Hi, I have installed Docker, Spark 3.1.1 and Hadoop 2.7 on Ubuntu 18.04. After I have executed the following 3 lines echo "export SPARK_HOME=/opt/spark" >> ~/.profile echo "export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin" >> ~/.profile echo "export PYSPARK_PYTHON=/usr/bin/python3" >> ~/.profile I tried to start the master server by typing start-master.sh and got the following error message bash: start-master.sh: command not found Thank you for any help.Ferdinand -- «Ce dont le monde a le plus besoin, c'est d'hommes, non pas des hommes qu'on achète et qui se vendent, mais d'hommes profondément loyaux et intègres, des hommes qui ne craignent pas d'appeler le péché par son nom, des hommes dont la conscience soit aussi fidèle à son devoir que la boussole l'est au pôle, des hommes qui défendraient la justice et la vérité même si l'univers s'écroulait.» Ellen Gould WHITE, education, P. 55