First of all, if you can get all machines to have the same user, that would
greatly simplify things.

If, for whatever reason, you absolutely can't get the same user on all
machines, then you could do either of the following:

1) Change the *-all.sh scripts to read from a slaves file that has two
fields: a host and a user
2) Move away from the *-all.sh scripts and do your own SSHing.

The *-all.sh scripts just SSH to other machines and run hadoop-daemon.sh,
which actually does the starting and stopping.  You could write your own
little script (bash, Python, whatever) that read from your own slaves files
and did the SSHing and hadoop-daemon.sh calling.

Again, ideally you'll have one user.

Alex

On Wed, May 20, 2009 at 4:07 PM, Pankil Doshi <forpan...@gmail.com> wrote:

> Hello everyone,
>
> Till now I was using same username on all my hadoop cluster machines.
>
> But now I am building my new cluster and face a situation in which I have
> different usernames for different machines. So what changes will have to
> make in configuring hadoop. using same username ssh was easy. now will it
> face problem as now I have different username?
>
> Regards
> Pankil
>

Reply via email to