Name node is in Safe mode. Error Handling Mode Hadoop

Source: Internet
Author: User

Problem Description :

When uploading files to HDFs with Hadoop, the Name node is in Safe Mode error, upload failed

How to resolve :

"Command"Hadoop dfsadmin-safemode leave

"Note" Several parameter meanings of safe mode

Enter---means enter safe mode

Leave---means leaving safe mode

The get----indicates whether to view the current security mode

Wait---means waiting until the end of Safe mode


Introduction to Safe Mode :

When the Distributed file system starts, there will be a security mode at the beginning, and when the Distributed file system is in Safe mode, the contents of the file system are not allowed to be modified or deleted until the end of safe mode. The Safe mode is to check the validity of the data blocks on each datanode when the system is started, and to copy or delete some data blocks according to the policy. The run time can also be entered in safe mode through commands. In practice, when the system starts to modify and delete files will also have a safe mode does not allow the modification of the error prompt, only need to wait a while.

You can also manually leave Safe mode by using the command above.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Name node is in Safe mode. Error Handling Mode Hadoop

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.