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 Raghu Angadi <ra...@yahoo-inc.com> on 2008/02/01 01:40:03 UTC

Re: override slaves file location (hadoop-0.15.3)

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
> 
>