Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to restart NameNode or all the daemons in Hadoop?
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
Contributor
Created ‎10-31-2018 10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Hadoop how to restart NameNode or all the daemons?
2 REPLIES 2
Master Mentor
Created ‎10-31-2018 10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It can be done using Ambari UI or API calls.
API calls:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517
Rising Star
Created ‎10-31-2018 11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By following methods we can restart the NameNode:
- You can stop the NameNode individually using /sbin/hadoop-daemon.sh stop namenode command. Then start the NameNode using /sbin/hadoop-daemon.sh start namenode.
- Use /sbin/stop-all.sh and the use /sbin/start-all.sh, command which will stop all the demons first. Then start all the daemons.
The sbin directory inside the Hadoop directory store these script files.
