You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Venkatesan Ramachandran <ra...@yahoo-inc.com> on 2008/01/31 19:50:18 UTC

override slaves file location (hadoop-0.15.3)

I specified an alternate location for the slaves file in
hadoop-site.xml as below:

 

<property>

     <name>dfs.hosts</name>

     <value>/home/ramachan/Hadoop/conf/slaves</value>

</property>

 

 

But, while starting hadoop (version: hadoop-0.15.3), it still looks
under the default location and fails.

 

/home/ramachan/Hadoop/hadoop-0.15.3/bin/../conf/slaves

 

--Venkat


Re: override slaves file location (hadoop-0.15.3)

Posted by Arun C Murthy <ac...@yahoo-inc.com>.
On Jan 31, 2008, at 10:50 AM, Venkatesan Ramachandran wrote:

> I specified an alternate location for the slaves file in
> hadoop-site.xml as below:
>
>

http://hadoop.apache.org/core/docs/r0.15.3/cluster_setup.html#Slaves

Arun

>
> <property>
>
>      <name>dfs.hosts</name>
>
>      <value>/home/ramachan/Hadoop/conf/slaves</value>
>
> </property>
>
>
>
>
>
> But, while starting hadoop (version: hadoop-0.15.3), it still looks
> under the default location and fails.
>
>
>
> /home/ramachan/Hadoop/hadoop-0.15.3/bin/../conf/slaves
>
>
>
> --Venkat
>


Re: override slaves file location (hadoop-0.15.3)

Posted by Raghu Angadi <ra...@yahoo-inc.com>.
These two are different.

bin/start-* scripts still need conf/slaves file.

If you specify dfs.hosts file, namenode accepts datanodes only from the 
nodes specified in dfs.hosts.

Raghu.

Venkatesan Ramachandran wrote:
> I specified an alternate location for the slaves file in
> hadoop-site.xml as below:
> 
>  
> 
> <property>
> 
>      <name>dfs.hosts</name>
> 
>      <value>/home/ramachan/Hadoop/conf/slaves</value>
> 
> </property>
> 
>  
> 
>  
> 
> But, while starting hadoop (version: hadoop-0.15.3), it still looks
> under the default location and fails.
> 
>  
> 
> /home/ramachan/Hadoop/hadoop-0.15.3/bin/../conf/slaves
> 
>  
> 
> --Venkat
> 
>