hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pallavi Palleti <pallavi.pall...@corp.aol.com>
Subject Re: Getting Slaves list in hadoop
Date Mon, 27 Jul 2009 10:15:23 GMT
I can do that. But, what if a user gives a different conf directory at the startup. Then, is
there a way to find that? Essentially, what I am looking for is a variable or property which
specifies the location of conf directory so that I can read from there. 

----- Original Message -----
From: "Ninad Raut" <hbase.user.ninad@gmail.com>
To: common-user@hadoop.apache.org
Sent: Monday, July 27, 2009 3:34:58 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: Re: Getting Slaves list in hadoop

write a java class to read the slaves file in conf folder. I hope thats what
you want.

On Mon, Jul 27, 2009 at 3:19 PM, Pallavi Palleti <
pallavi.palleti@corp.aol.com> wrote:

> Hi all,
> Is there an easy way to get the slaves list in Server.java code?
> Thanks
> Pallavi

View raw message