Re: difference between mapred-site.xml and conf/masters

2012-08-06 Thread feng lu
Despite its name, the conf/masters file defines on which machines Hadoop will start secondary NameNodes in multi-node cluster. In some case, this is just the master machine. The primary NameNode and the JobTracker will always be the machines on which you run the bin/start-dfs.sh and bin/start-mapre

Re: difference between mapred-site.xml and conf/masters

2012-08-06 Thread Karthik Kambatla
My understanding is that conf/masters is used only by the bin/ or sbin/ scripts - like start-*.sh, while the conf property is used by the Hadoop daemons running on that particular node. Hope that helps, Karthik On Mon, Aug 6, 2012 at 5:32 PM, Momina Khan wrote: > Hi, > I am trying to setup a ha

difference between mapred-site.xml and conf/masters

2012-08-06 Thread Momina Khan
Hi, I am trying to setup a hadoop cluster and I was wondering what is difference in specifying the Jobtracker IP in *mapred.job.tracker* in * mapred-site.xml* and noting the same IP in *conf/masters* file? Do I need to do both or just one. If I need to do both, is there a difference in how the two