I have installed Hadoop and SSH on my laptop. \"ssh localhost\" works fine. After formatting HDFS, I tried to start hadoop.
munichong@GrindPad:~$ sudo /usr/
It seems you have logged-in as root and invoking start-all.sh.
Instead, login as owner of directory $SPARK_HOME and invoke spark's
start-all.sh.
(or)
Let user hadoop be the owner of directory $SPARK_HOME and currently logged in as root, then command would be as follows:
sudo -u hadoop -c start-all.sh
Assumption:
a) PATH has reference to directory $SPARK_HOME/bin
b) Certificate based authentication is configured for user hadoop