[ http://issues.apache.org/jira/browse/NUTCH-46?page=comments#action_63920 ] Piotr Kosiorowski commented on NUTCH-46: ----------------------------------------
I have created a patch to fix this issue on Windows. The fix is done in multiple places: 1) org.apache.nutch.fs.NDFSFileSystem - it is a client side of NDFS - now all paths passed from the client to server are using "Unix" file naming convention. 2) org.apache.nutch.fs.FSDirectory,NDFSFileInfo - on the server - changed to construct paths without java.io.File object but using helper methods 3)org.apache.nutch.fs.NDFSFile - static helper method added used by FSDirectory and NDFSFileInfo I have tested all operations exposed by TestClient on Windows and Linux platforms. They work correctly except a small bug I have found that was also present in the old version (testing on old version of the code I was able to reproduce it). I will provide a separate patch for this bug soon. > 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
