You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Jon Lederman <jo...@gmail.com> on 2011/01/02 17:38:44 UTC

Masters and Slaves Files For Pseudo-Distributed Mode

I am wondering what should the content be for the masters and slaves files when running in pseudo-distributed mode?
The only way I could get my DataNode and Secondary Namenode to start was to have both files contain: localhost.

Is this correct?

-Jon

Re: Masters and Slaves Files For Pseudo-Distributed Mode

Posted by Harsh J <qw...@gmail.com>.
On Sun, Jan 2, 2011 at 10:08 PM, Jon Lederman <jo...@gmail.com> wrote:
> I am wondering what should the content be for the masters and slaves files when running in pseudo-distributed mode?
> The only way I could get my DataNode and Secondary Namenode to start was to have both files contain: localhost.
>
> Is this correct?

Yes, just localhost in both is correct.

-- 
Harsh J
www.harshj.com

Re: Masters and Slaves Files For Pseudo-Distributed Mode

Posted by Hari Sreekumar <hs...@clickable.com>.
This is correct. Pseudodistributed means that the same one machine is
behaving as both master and slave. DN gets started in whichever
machines you mention in the slaves  file and SNN gets started on the
nodes mentioned in the masters file.

Hari

On Sunday, January 2, 2011, Jon Lederman <jo...@gmail.com> wrote:
> I am wondering what should the content be for the masters and slaves files when running in pseudo-distributed mode?
> The only way I could get my DataNode and Secondary Namenode to start was to have both files contain: localhost.
>
> Is this correct?
>
> -Jon