hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avinash Lakshman <alaksh...@facebook.com>
Subject Configuration setup
Date Wed, 23 May 2007 21:50:20 GMT
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


Mime
View raw message