[ http://issues.apache.org/jira/browse/NUTCH-46?page=comments#action_63959 ] Piotr Kosiorowski commented on NUTCH-46: ----------------------------------------
I have tried to run your code and it starts a namenode and waits (as it contains namenode.join() call). After commenting out namenode.join(); as you probably did it started to behave the way you described. I have added code to print all exceptions (not to silently ignore it) and found out the problem. This code needs to be run under cygwin environment - datanode tries to execute df to get disks stats and if df is not present in environment (and it is not on Windows by default) you get: java.io.IOException: CreateProcess: df -k C:\nutch_data\1 error=2 After running your program under cygwin everything works great. Please confirm that namenode.join() should be commented out. > the NDFS problem(Could not obtain new output block for file) > ------------------------------------------------------------ > > Key: NUTCH-46 > URL: http://issues.apache.org/jira/browse/NUTCH-46 > Project: Nutch > Type: Bug > Components: fetcher > Environment: jdk1.4.1,nutch0.6,lucene1.4.3,windows2000 > Reporter: zhangjin > Priority: Critical > Attachments: ndfspatch > > Ndfs is very important to distributed handling.But I never get good result > by NDfS, The error is Like " > Hit uncaught exception java.io.IOException java.io.IOException: Could not > obtain new output block for file 1.txt" > Please tell me > Thanks thanks very much! > msn:[EMAIL PROTECTED] > mail:[EMAIL PROTECTED] > blog0:http://blog.csdn.net/prettyheart > blog1:http://soacn.blogchina.com -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
