You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Olive g <ol...@hotmail.com> on 2006/03/27 03:16:25 UTC

Cannot create file error

I installed and configured the nightly build of 3/23 and I got the following 
error:

java.io.IOException: Cannot create file 
/user/root/crawl-20060326164725/crawldb/256909476/part-00000/data on client 
DFSClient_-1291163366 at org.apache.hadoop.ipc.Client.call(Client.java:301) 
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:141) at 
org.apache.hadoop.dfs.$Proxy1.create(Unknown Source) at 
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:589) 
at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.(DFSClient.java:556) at 
org.apache.hadoop.dfs.DFSClient.create(DFSClient.java:99) at 
org.apache.hadoop.dfs.DistributedFileSystem.createRaw(DistributedFileSystem.java:71) 
at 
org.apache.hadoop.fs.FSDataOutputStream$Summer.(FSDataOutputStream.java:39) 
at org.apache.hadoop.fs.FSDataOutputStream.(FSDataOutputStream.java:128) at 
org.apache.hadoop.fs.FileSystem.create(FileSystem.java:180) at 
org.apache.hadoop.fs.FileSystem.create(FileSystem.java:168) at 
org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:94) at 
org.apache.hadoop.io.MapFile$Writer.(MapFile.java:101) at 
org.apache.hadoop.io.MapFile$Writer.(MapFile.java:76) at 
org.apache.hadoop.mapred.MapFileOutputFormat.getRecordWriter(MapFileOutputFormat.java:38) 
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:265) at 
org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:703)


I was running fine with some previous releases/builds. Does the path
/user/root/crawl-20060326164725/crawldb/256909476/part-00000/data
look right? What is string "256909476"?

bin/hadoop dfs -du returns:
060326 200943 parsing 
jar:file:/root/nutch/search/lib/hadoop-0.1-dev.jar!/hadoop-default.xml
060326 200943 parsing file:/root/nutch/search/conf/hadoop-site.xml
060326 200943 No FS indicated, using default:xxx.xxx.xxx:8010
060326 200943 Client connection to xxx.xxx.xxx:8010: starting
Found 8 items
/user/root/aa   983495
/user/root/crawl-20060326152612 5187
/user/root/crawl-20060326164725 5187
/user/root/crawl_200k   2161128194
/user/root/crawl_60     38531
/user/root/dmoz 2262
/user/root/urls 2234
/user/root/urls-100     3996

Did I miss something here? I appreciate any advice.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963