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. 

Thanks
Pallavi
----- Original Message -----
From: "Ninad Raut" <[email protected]>
To: [email protected]
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 <
[email protected]> wrote:

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

Reply via email to