Hadoop O & M-NameNode restart

Source: Internet
Author: User

Operation Procedure (proceed with caution and double check !!!)

1. Back up the current directory of the master node

2. Execute./Hadoop-daemon.sh start namenode-checkpoint on second namenode

3. Wait 30-40 minutes until the checkpoint is complete. Check the fsimage modification time of the current file on the master node to check whether the synchronization is successful.

Then execute./hadoop-daemon.sh stop namenode, stop second Namenode

4. Modify the hadoop-env.sh file under the conf directory of the master node and modify the JVM parameters. Make lab and computation estimates in advance.

5. Execute./hadoop-daemon.sh stop namenode on the master node, if not, kill-9 PID

6. Restart NameNode./The hadoop-daemon.sh start namenode

1) load the metadata file fsimage (~ 10 min)

2). Load the operation log edits (1 ~ 2 min)

3). store metadata to fsimage (3 ~ 4 min)

7. view the nameNode log and wait for the block report to be completed (10 ~ 15 min)

8. Manually trigger a Full GC to recycle the temporary objects in the old zone during the restart process.

9. After the service is normal, sending an email indicates that the cluster is back to normal

10. Observe the GC status of the mail report on a regular basis.

Tracking

Time Reason Priority Importance Desc. Befor GC After GC Handled Feedback

Build a Hadoop environment on Ubuntu 13.04

Cluster configuration for Ubuntu 12.10 + Hadoop 1.2.1

Build a Hadoop environment on Ubuntu (standalone mode + pseudo Distribution Mode)

Configuration of Hadoop environment in Ubuntu

Detailed tutorial on creating a Hadoop environment for standalone Edition

Build a Hadoop environment (using virtual machines to build two Ubuntu systems in a Winodws environment)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.