Hi,

[I tried googling and searching the mailing list for a similar
problem, but I coudn't find one this basic :]

I just tried to install hadoop on a single node, a 64-bit box running Ubuntu.

[tiger]$ uname -a
Linux  2.6.16-gentoo-r9  x86_64 Intel(R) Xeon(TM) CPU 3.60GHz
GenuineIntel GNU/Linux

I started start-all.sh, which appeared to work well:

[tiger]$ $HADOOP_INSTALL/bin/start-all.sh

However, when I tried to run the wordcount example
(http://wiki.apache.org/lucene-hadoop/WordCount), hadoop couldn't
connect to my localhost:

[tiger]$ bin/hadoop jar hadoop-0.12.2-examples.jar wordcount input_dir
output_dir
07/03/26 00:22:37 INFO ipc.Client: Retrying connect to server:
localhost/127.0.0.1:9000. Already tried 1 time(s).
07/03/26 00:22:37 INFO ipc.Client: Retrying connect to server:
localhost/127.0.0.1:9000. Already tried 2 time(s).
...
java.lang.RuntimeException: java.net.ConnectException: Connection refused

Please let me know if you have any thoughts!

Thanks,

-Tiger


See below for my hadoop-site.xml settings, derived from
(http://wiki.apache.org/nutch/NutchHadoopTutorial)

<configuration>

<property>
 <name>fs.default.name</name>
 <value>localhost:9000</value>
</property>

<!-- map/reduce properties -->

<property>
 <name>mapred.job.tracker</name>
 <value>localhost:9001</value>
</property>

<property>
 <name>dfs.name.dir</name>
 <value>/some_dir/hadoop/hadoop_data</value>
</property>

</configuration>

Reply via email to