You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by RZG <re...@gmail.com> on 2005/10/29 05:10:45 UTC

I runed Nutch0.7.1's crawl but got an "FileNotFountException" ,why?,psl help me.

Hi,everybody:

I runed Nutch0.7.1 in cygwin installed my Windows XP os,but
got the follow exception.i'm sure there is a file with named "urls" i had
created in the current directory!
 $ bin/*nutch crawl urls -dir crawl.test -depth 3 -thread 1
*run java in C:\java\j2sdk1.4.2_04
050928 110225 parsing file:/D:/nutch/nutch-0.7.1/conf/nutch-default.xml
050928 110225 parsing file:/D:/nutch/nutch-0.7.1/conf/crawl-tool.xml
050928 110226 parsing file:/D:/nutch/nutch-0.7.1/conf/nutch-site.xml
050928 110226 No FS indicated, using default:local
050928 110226 crawl started in: crawl.test
050928 110226 rootUrlFile = 1
050928 110226 threads = 10
050928 110226 depth = 3
050928 110226 Created webdb at LocalFS,D:\nutch\nutch-0.7.1\crawl.test\db
Exception in thread "main" java.io.FileNotFoundException: 1 (system cannot
find the indicated file。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileReader.<init>(FileReader.java:55)
at org.apache.nutch.db.WebDBInjector.injectURLFile(WebDBInjector.java:37
2)
at org.apache.nutch.db.WebDBInjector.main(WebDBInjector.java:535)
at org.apache.nutch.tools.CrawlTool.main(CrawlTool.java:134)
*i appreciate your help or any suggestions!*

--
RenZenggang
Renzenggang@gmail.com
Renzenggang@csii.com
MSN:rzg117@hotmail.com

Re: I runed Nutch0.7.1's crawl but got an "FileNotFountException" ,why?,psl help me.

Posted by Michael Ji <fj...@yahoo.com>.
somehow, your log saying "050928 110226 rootUrlFile =
1", which didn't give out a right file name;

I guess something wrong when crawler read in your
command;

Michael Ji,

--- RZG <re...@gmail.com> wrote:

> Hi,everybody:
> 
> I runed Nutch0.7.1 in cygwin installed my Windows XP
> os,but
> got the follow exception.i'm sure there is a file
> with named "urls" i had
> created in the current directory!
>  $ bin/*nutch crawl urls -dir crawl.test -depth 3
> -thread 1
> *run java in C:\java\j2sdk1.4.2_04
> 050928 110225 parsing
> file:/D:/nutch/nutch-0.7.1/conf/nutch-default.xml
> 050928 110225 parsing
> file:/D:/nutch/nutch-0.7.1/conf/crawl-tool.xml
> 050928 110226 parsing
> file:/D:/nutch/nutch-0.7.1/conf/nutch-site.xml
> 050928 110226 No FS indicated, using default:local
> 050928 110226 crawl started in: crawl.test
> 050928 110226 rootUrlFile = 1
> 050928 110226 threads = 10
> 050928 110226 depth = 3
> 050928 110226 Created webdb at
> LocalFS,D:\nutch\nutch-0.7.1\crawl.test\db
> Exception in thread "main"
> java.io.FileNotFoundException: 1 (system cannot
> find the indicated file¡£)
> at java.io.FileInputStream.open(Native Method)
> at
>
java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileReader.<init>(FileReader.java:55)
> at
>
org.apache.nutch.db.WebDBInjector.injectURLFile(WebDBInjector.java:37
> 2)
> at
>
org.apache.nutch.db.WebDBInjector.main(WebDBInjector.java:535)
> at
>
org.apache.nutch.tools.CrawlTool.main(CrawlTool.java:134)
> *i appreciate your help or any suggestions!*
> 
> --
> RenZenggang
> Renzenggang@gmail.com
> Renzenggang@csii.com
> MSN:rzg117@hotmail.com
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com