Description of hadoop Default Configuration

Source: Internet
Author: User

5. Check the error

========================

1. Permission issues:

At startup, you may see a series of errors without access permissions.

Open hadoop-env.sh

Note the following:

Must have the read permission:Hadoop_conf_dir

You must have the write permission:Hadoop_log_dir, hadoop_secure_dn_log_dir, hadoop_pid_dir, hadoop_secure_dn_pid_dir

Hadoop_conf_dirIf you do not have the read permission, you cannot read the configuration file.

Hadoop_log_dir, hadoop_secure_dn_log_dir, hadoop_pid_dir, hadoop_secure_dn_pid_dirIf you do not have the write permission, logs and important data cannot be written.

2. No permission, but it seems that it has not started

In most cases, the configuration file is not found.

Hadoop_conf_dirIs where the hadoop configuration file is stored. If you do not have additional settings

Export hadoop_conf_dir =$ {hadoop_conf_dir :-"/Etc/hadoop"} The bold part is the default configuration directory.XML must be stored in this directoryOtherwise, hadoop cannot be found and the daemon cannot be started!

Description of hadoop Default Configuration

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.