Hadoop Common Configuration Meaning Memo

Source: Internet
Author: User

A number of configuration parameters are listed

Where the red configuration is required to configure parameters

Parameters Take value Notes
Fs.default.name The URI of the Namenode. HDFS://Host name/
Dfs.hosts/dfs.hosts.exclude License/Reject Datanode list. If necessary, use this file to control the licensed Datanode list.
Dfs.replication Default: 3 Score for data replication
Dfs.name.dir

Example:/home/username/hadoop/namenode

Default:/tmp

When this value is a comma-separated list of directories, the NameTable data is replicated to all directories for a redundant backup.
Dfs.data.dir

Example:/home/username/hadoop/datanode

Default:/tmp

When this value is a comma-separated list of directories, the data is stored in all directories and is typically distributed across different devices.
Mapred.system.dir The Map/reduce framework stores the HDFS path of the system files. Like/hadoop/mapred/system/. This path is the path under the default file system (HDFS) and must be accessible from both the server and the client.
Mapred.local.dir A comma-separated list of paths in the local file system where map/reduce temporary data is stored. Multipath helps with disk I/O.
Mapred.tasktracker. {Map|reduce}.tasks.maximum The maximum number of map/reduce tasks that can be run on a tasktracker, and these tasks will run separately. The default is 2 (2 maps and 2 reduce), which can be changed based on hardware conditions.
Mapred.job.tracker Jobtracker host (or IP) and port. Host: Port.
Mapred.hosts/mapred.hosts.exclude License/Reject Tasktracker list. If necessary, use this file to control the licensed Tasktracker list.
Hadoop.job.history.user.location

Default: Mapred.output.dir/_logs/history

can also be set to none to deactivate

History file record directory for job

Conf/slaves writes all slave machine names or IP

Namenode Remember that each file is mapped to a blockid. Each blockid corresponding block is copied to a different machine for an extra copy.

The default block for Hadoop is 64MB

To see if Namenode started: http://localhost:50070/

To see if Jobtracker started: http://localhost:50030/

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.