Hi everyone.
I'm having a trouble creating a job in nutch server. if any one could help!
I'm trying to create a job in nutch server and i'm stuck at the begining:
localhost:8081/job/create
{
"crawlId":"crawl-01",
"type":"INJECT",
"confId":"default",
"args": {"crawldb":"crawl",
"url_dir":"/.../apache-nutch-2.3/runtime/local/url/"}
}
and here's hadoop log
2015-04-08 00:37:52,102 INFO api.NutchServer - Starting NutchServer on
port: 8081 with logging level: INFO ...
2015-04-08 00:37:52,137 INFO api.NutchServer - Started NutchServer on
port 8081
2015-04-08 00:38:31,384 ERROR impl.JobWorker - Cannot run job worker!
java.lang.NullPointerException
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:207)
at org.apache.nutch.api.impl.JobWorker.run(JobWorker.java:64)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Can anyone tell me what i'm doing wrong!
Thanks in advance.