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 Ahmed Salman <sa...@cs.man.ac.uk> on 2007/06/07 19:32:54 UTC

Network topology has 0 racks and 0 datanode

Hi,

I am trying to run Hadoop using cygwin and facing following error. I am able
to start namenode but then subsequent errors. Please note that I am so far
trying on single machine. I have also noticed that log file for namenode is
created and show "Network topology has 0 racks and 0 datanodes" and there
are no other log files for datanodes.

 

I am not sure what property to setup to make it working.

 

salmana@rpc316 /cygdrive/c/hadoop

$ start-dfs.sh

 

starting namenode, logging to
/cygdrive/c/Hadoop/bin/../logs/hadoop-salmana-namenode-rpc316.out

salmana@localhost's password:

.outlhost: starting datanode, logging to
/cygdrive/c/Hadoop/bin/../logs/hadoop-salmana-datanode-rpc316

.out: No such file or directoryin/hadoop-daemon.sh: line 98:
/cygdrive/c/Hadoop/bin/../logs/hadoop-salmana-datanode-rpc316

localhost: Can't locate URI.pm in @INC (@INC contains:
/usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /us

usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 .) at
/cygdrive/c/perl/bin/head line 187.

localhost: BEGIN failed--compilation aborted at /cygdrive/c/perl/bin/head
line 187.

salmana@localhost's password:

.outlhost: starting secondarynamenode, logging to
/cygdrive/c/Hadoop/bin/../logs/hadoop-salmana-secondarynamenode-rpc316

.out: No such file or directoryin/hadoop-daemon.sh: line 98:
/cygdrive/c/Hadoop/bin/../logs/hadoop-salmana-secondarynamenode-rpc316

localhost: Can't locate URI.pm in @INC (@INC contains:
/usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /us

usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 .) at
/cygdrive/c/perl/bin/head line 187.

localhost: BEGIN failed--compilation aborted at /cygdrive/c/perl/bin/head
line 187.

 

salmana@rpc316 /cygdrive/c/hadoop