|
|
-
Managing configurations
Mark 2010-08-18, 17:29
What is the preferred way of managing multiple configurations.. ie development, production etc.
Is there someway I can tell hadoop to use a separate conf directory other than ${hadoop_home}/conf? I think I've read somewhere that one should just create multiple conf directories and then symlink the one you want to /conf but I was hoping there was more elegant way.
Thanks
-
Re: Managing configurations
y l 2010-08-18, 17:31
If your project is Maven-ised you can probably have a ${hadoop.conf.dir} variable where the value is injected based on the environment from the profiles.xml....
----- Original Message ----- From: Mark Sent: 08/18/10 10:29 AM To: [EMAIL PROTECTED] Subject: Managing configurations
What is the preferred way of managing multiple configurations.. ie development, production etc. Is there someway I can tell hadoop to use a separate conf directory other than ${hadoop_home}/conf? I think I've read somewhere that one should just create multiple conf directories and then symlink the one you want to /conf but I was hoping there was more elegant way. Thanks
-
Re: Managing configurations
Harsh J 2010-08-18, 17:34
On Wed, Aug 18, 2010 at 10:59 PM, Mark <[EMAIL PROTECTED]> wrote: > What is the preferred way of managing multiple configurations.. ie > development, production etc. > > Is there someway I can tell hadoop to use a separate conf directory other > than ${hadoop_home}/conf? I think I've read somewhere that one should just > create multiple conf directories and then symlink the one you want to /conf > but I was hoping there was more elegant way. Cloudera installations on Debian systems follow this method. Its elegant if you use the distro's `update-alternatives` feature to maintain them. > > Thanks >
-- Harsh J www.harshj.com
-
Re: Managing configurations
Hemanth Yamijala 2010-08-19, 04:45
Mark, On Wed, Aug 18, 2010 at 10:59 PM, Mark <[EMAIL PROTECTED]> wrote: > What is the preferred way of managing multiple configurations.. ie > development, production etc. > > Is there someway I can tell hadoop to use a separate conf directory other > than ${hadoop_home}/conf? I think I've read somewhere that one should just > create multiple conf directories and then symlink the one you want to /conf > but I was hoping there was more elegant way.
You can certainly have the configuration files in any directory, and use options like --config when launching to specify the alternate path.
-
Re: Managing configurations
Mark 2010-08-19, 14:44
On 8/18/10 9:45 PM, Hemanth Yamijala wrote: > Mark, > > > On Wed, Aug 18, 2010 at 10:59 PM, Mark<[EMAIL PROTECTED]> wrote: >> What is the preferred way of managing multiple configurations.. ie >> development, production etc. >> >> Is there someway I can tell hadoop to use a separate conf directory other >> than ${hadoop_home}/conf? I think I've read somewhere that one should just >> create multiple conf directories and then symlink the one you want to /conf >> but I was hoping there was more elegant way. > You can certainly have the configuration files in any directory, and > use options like --config when launching to specify the alternate > path. Ahh.. this is what I was looking for. Thanks
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext