On 13/09/11 05:02, Harsh J wrote:
Ralf,
There is no current way to 'fetch' a config at the moment. You have
the NameNode's config available at NNHOST:WEBPORT/conf page which you
can perhaps save as a resource (dynamically) and load into your
Configuration instance, but apart from this hack the only other ways
are the ones Bharath mentioned. This might lead to slow start ups of
your clients, but would give you the result you want.
I've done it a modified version of Hadoop, all it takes is a servlet in
the NN. It even served up the live data of the addresses and ports a NN
was running on, even if it didn't know in advance.