Thanks for sharing the snapshot. You are getting the permission denied error as shown in the snapshot.
You are gettiing the error because you enter the wrong password.
Please stop the hadoop services and start the hadoop services again. It will ask for password again. Enter the correct password and it will resolve the issue.
You can also create password free ssh connection to avoid password.
Hope this helps.
I run ./stop-all.sh and then ./start-all.sh but the same problem still I'm getting. I'm attaching the snapshot of these commands.
Could you please share the error snapshot and please also share the ouptut of $ jps command.
I'm sharing the error coming in, localhost:50070 and $ jps command showing "command not found".
Output of JPS :
Hadoop required server to run the services. You are using the Centos without server version. Please make sure you have apache server installed and running. You can also use other servers for this purpose.
To install the apache server -$ sudo yum -y install httpd
Check the status of apache server -$ sudo service httpd status
Now configure your system to start Apache at boot time...
$ systemctl start httpd.service
$ systemctl enable httpd.service
Steps to resolve the issue:
If you don't have any server, please install the server and make sure it is working and enable.
Next enter the following three commands to disable firewall.
# service iptables save
# service iptables stop
# chkconfig iptables off
If you are using IPv6 firewall, enter:
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off
Recreate the HDFS:
$ sudo rm -r location_of_HDFS
$ sudo mkdir location_of_HDFS
$ sudo chown hadoop_username location_of_HDFS
Format the namenode:
$ hadoop namenode -format
Start the hadoop services:
$ start-all.sh or
$ start-dfs.sh and $ start-yarn.sh
Hope this helps.
Still, I'm facing the same problem. I had executed following commands given in snapshot.
I'm not getting where I'm making the mistake.
Is this good time to call you. Please let me know.
I will look forward for your response.
yes, you can. M.no: 9864320757
It quite late for India timings. I will call you tomorrow morning. We will surely resolve your issue.
Please let me know the convenient time to call you.
time after 10-12 am or after 6 pm.
Sure, I will call you tomorrow at 8:00 pm. Hope this works for you.