Nutch on windows with cygwin.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Nutch on windows with cygwin.

Yundeng Cao
i configurate my nutch project according to the FAQ. but some exception
throws when i run the following command:

$ ./bin/nutch crawl urls -dir crawl.demo -depth 2 -threads 4


crawl started in: crawl.demo
rootUrlDir = urls
threads = 4
depth = 2
Injector: starting
Injector: crawlDb: crawl.demo/crawldb
Injector: urlDir: urls
Injector: Converting injected urls to crawl db entries.
Exception in thread "main" Input directory
tch/urls in local is invalid.
        at org.apache.hadoop.mapred.JobClient.submitJob(
        at org.apache.hadoop.mapred.JobClient.runJob(
        at org.apache.nutch.crawl.Injector.inject(
        at org.apache.nutch.crawl.Crawl.main(

P.S. File urls already exists.