Hadoop cluster Installation (4) configuration Jobtracker_conf/mapred-site.xml

Source: Internet
Author: User

Conf/mapred-site.xml

Summary: The main configuration Jobtracker address,scheduler,queue and so on.

1. Configure Jobtracker (must be set)

<configuration>
	<property>
		<name>mapreduce.jobtracker.address</name>
		< Value>node14:9001</value>
		<description>jobtracker ' s address</description>
	</ Property>
</configuration>

2. There are other configurable items

See Hadoop-0.21.0/mapred/src/java/mapred-default.xml in detail, such as

(1) Set up Job scheduler

<property>
  <name>mapreduce.jobtracker.taskscheduler</name>
  <value> Org.apache.hadoop.mapred.jobqueuetaskscheduler</value>
  <description>the class responsible for Scheduling the tasks.</description>
</property>
(2) Job queue

<property>
	<name>mapreduce.job.queuename</name>
	<value>queue-a:queue-b:queue-c </value>
</property>

Mapreduce.jobtracker.system.dir

Mapreduce.cluster.local.dir

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.