Hi Tor,

It looks like you're missing the URLs file.  Try something lie this:

bin/nutch crawl urls startsiden.no -dir /mnt/div/nutch/startsiden -depth 3
-topN50

And make sure you have a directory called 'urls' with a text file containing
your URLs.  Have a look at this tutorial for everything you need:

http://lucene.apache.org/nutch/tutorial8.html

Regards,
Karl O'Brien.



Tor Harald Thorland wrote:
> 
> 
> I'm totally new to this, and is "stuck"
> 
> Can someone explain this some further..
> 
> [EMAIL PROTECTED]:/mnt/div/nutch/urls$  
> /home/tortho/Desktop/nutch-0.8.1/bin/nutch crawl startsiden.no -dir  
> /mnt/div/nutch/startsiden -depth 3 -topN50
> crawl started in: /mnt/div/nutch/startsiden
> rootUrlDir = -topN50
> threads = 10
> depth = 3
> Injector: starting
> Injector: crawlDb: /mnt/div/nutch/startsiden/crawldb
> Injector: urlDir: -topN50
> Injector: Converting injected urls to crawl db entries.
> Exception in thread "main" java.io.IOException: Input directory  
> /mnt/div/nutch/urls/-topN50 in local is invalid.
>          at
> org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:274)
>          at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:327)
>          at org.apache.nutch.crawl.Injector.inject(Injector.java:138)
>          at org.apache.nutch.crawl.Crawl.main(Crawl.java:105)
> [EMAIL PROTECTED]:/mnt/div/nutch/urls$
> 
> Thanks,
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Starting-nutch-fails-tf2952400.html#a8257558
Sent from the Nutch - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to