NDFS is not recommended in 0.7. The version of NDFS in the mapred branch is much improved. Note however that the mapred branch is substantially different than 0.7 and is still incomplete.

Doug

Transbuerg Tian wrote:
hi, all friends,
  I download nutch0.7 ,and want use ndfs independence.
so , First I start NameNode , It sucessfuly started , console m essage is below:
------------------------------------------------------------------------------------------------------
D:\workspace\nutch_src\bin>java -cp D:\java\nutch-
0.7\lib\commons-logging-api-1.
0.4.jar;D:\java\nutch-0.7\lib\concurrent-1.3.4.jar;D:\java\nutch-
0.7\lib\jakarta
-oro-2.0.7.jar;D:\java\nutch-0.7\lib\jetty-5.1.2.jar;D:\java\nutch-
0.7\lib\junit
-3.8.1.jar;D:\java\nutch-0.7\lib\lucene-1.9-rc1-dev.jar;D:\java\nutch-
0.7\lib\lu
cene-misc-1.9-rc1-dev.jar;D:\java\nutch-0.7\lib\servlet-api.jar
;D:\java\nutch-0.
7\lib\taglibs-i18n.jar;D:\java\nutch-0.7\lib\xerces-2_6_2-apis.jar
;D:\java\nutch
-0.7\lib\xerces-2_6_2.jar;./nutch.jar;.; org.apache.nutch.ndfs.NDFS$NameNode
050919 083431 parsing file:/D:/workspace/nutch_src/bin/nutch-default.xml
050919 083431 parsing file:/D:/workspace/nutch_src/bin/nutch-site.xml
050919 083432 Server listener on port 9000: starting
050919 083432 Server handler on 9000: starting
050919 083432 Server handler on 9000: starting
-------------------------------------------------------------------------------------------------------------
 Second: I start DataNode , but failed: the console message is below:
-------------------------------------------------------------------------------------------------------------

D:\workspace\nutch_src\bin>java -cp D:\java\nutch-
0.7\lib\commons-logging-api-1.
0.4.jar;D:\java\nutch-0.7\lib\concurrent-1.3.4.jar;D:\java\nutch-
0.7\lib\jakarta
-oro-2.0.7.jar;D:\java\nutch-0.7\lib\jetty-5.1.2.jar;D:\java\nutch-
0.7\lib\junit
-3.8.1.jar;D:\java\nutch-0.7\lib\lucene-1.9-rc1-dev.jar;D:\java\nutch-
0.7\lib\lu
cene-misc-1.9-rc1-dev.jar;D:\java\nutch-0.7\lib\servlet-api.jar
;D:\java\nutch-0.
7\lib\taglibs-i18n.jar;D:\java\nutch-0.7\lib\xerces-2_6_2-apis.jar
;D:\java\nutch
-0.7\lib\xerces-2_6_2.jar;./nutch.jar;.; org.apache.nutch.ndfs.NDFS$DataNode
050919 083436 parsing file:/D:/workspace/nutch_src/bin/nutch-default.xml
050919 083436 parsing file:/D:/workspace/nutch_src/bin/nutch-site.xml
050919 083436 Using [/tmp/nutch/ndfs/data] directory for data storage.
050919 083436 Opened server at 7000
050919 083436 Lost connection to namenode [tianchunfeng/192.168.0.89:9000]. Ret
rying...
050919 083441 Lost connection to namenode [tianchunfeng/192.168.0.89:9000]. Ret
rying...
050919 083446 Lost connection to namenode [tianchunfeng/192.168.0.89:9000]. Ret
rying...
-------------------------------------------------------------------------------------------------------------------------
 My question is : why datanode could not connection to namenode ?
 and help will thanks...

Reply via email to