Support Questions

Find answers, ask questions, and share your expertise

add mapreduce-site.xml mapreduce.jobtracker.hosts.filename property

avatar
Explorer

I want to add mapreduce.jobtracker.hosts.filename into mapreduce-site.xml  by cdh manager 5,but it doesn't work...

 

 

<property>
<name>mapreduce.jobtracker.hosts.filename</name>
<value>/home/yoyosys/mrhosts.txt</value>
</property>

 

 

mrhosts.txt:

 

host1

hoost2

 

 

 

 

 

1 ACCEPTED SOLUTION

avatar
mapred.hosts still works in CDH5

It's much easier to have Cloudera Manager handle this file for you, as it will automatically be updated when adding, decommissioning, or removing hosts.

Are you seeing a problem in your cluster due to this property?

View solution in original post

3 REPLIES 3

avatar
Why do you want to set this? CM manages the allowed hosts for you (using mapred.hosts).

avatar
Explorer

 

in CDH5 this property is mapreduce.jobtracker.hosts.filename

http://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-mapreduce-client/hadoop-mapreduce-client-core/m... 

 

 

I don't know where I configuration wrong

avatar
mapred.hosts still works in CDH5

It's much easier to have Cloudera Manager handle this file for you, as it will automatically be updated when adding, decommissioning, or removing hosts.

Are you seeing a problem in your cluster due to this property?