Yes it does. I noticed I made a mistake in the config below. I changed to
the following and DFS starts up.

<configuration>
        <property>
                <name>fs.default.name</name>
                <value>dev030.sctm.facebook.com:9000</value>
        </property>

        <property>
                <name>mapred.job.tracker</name>
                <value>dev030.sctm.facebook.com:9001</value>
        </property>

        <property>
                <name>dfs.replication</name>
                <value>1</value>
        </property>

</configuration>

Thanks
A


On 5/23/07 2:54 PM, "yu-yang chen" <[EMAIL PROTECTED]> wrote:

> hey, does your single node (non cluster) hadoop work?
> 
> Avinash Lakshman wrote:
>> I want to setup Hadoop to run on a cluster of 3 nodes. Here is the setup of
>> my hadoop-site.xml file :
>> 
>> <configuration>
>>         <property>
>>                 <name>fs.default.name</name>
>>                 <value>hdfs:///</value>
>>         </property>
>> 
>>         <property>
>>                 <name>dfs.secondary.info.port</name>
>>                 <value>10000</value>
>>         </property>
>> 
>>         <property>
>>                 <name>mapred.job.tracker</name>
>>                 <value>dev030.sctm.facebook.com:9001</value>
>>         </property>
>> 
>>         <property>
>>                 <name>dfs.replication</name>
>>                 <value>1</value>
>>         </property>
>> 
>> </configuration>
>> 
>> However whenever I start my DFS I get the following error :
>> 
>> dev030.sctm.facebook.com: starting secondarynamenode, logging to
>> /home/alakshman/hadoop-0.12.3/bin/../logs/hadoop-alakshman-secondarynamenode
>> -dev030.sctm.facebook.com.out
>> dev030.sctm.facebook.com: Exception in thread "main"
>> java.lang.IllegalArgumentException: port out of range:-1
>> dev030.sctm.facebook.com:       at
>> java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
>> dev030.sctm.facebook.com:       at
>> org.apache.hadoop.dfs.DataNode.createSocketAddr(DataNode.java:106)
>> dev030.sctm.facebook.com:       at
>> org.apache.hadoop.dfs.SecondaryNameNode.<init>(SecondaryNameNode.java:93)
>> dev030.sctm.facebook.com:       at
>> org.apache.hadoop.dfs.SecondaryNameNode.main(SecondaryNameNode.java:474)
>> 
>> How do I fix this ? Please advice.
>> 
>> Thanks
>> A
>> 
>>   
> 

Reply via email to