Skip to content

Crawler failed to start crawling #169

Description

@Amirthi

I'm using docker-compose on windows 10
when I run "docker-compose up " everything works fine
elasticsearch works fine, DDT tool works fine but the crawler won't work, when I use deep crawling and use a text file it loads the urls but when I click Start Crawl i get this error "Failed to start the crawler".
and the error is :

ache_focused_crawl | [2018-08-08 15:32:05,228] INFO [qtp1776560893-13] (MatcherFilter.java:153) - The requested route [/] has not been mapped in Spark for Accept: [text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8]
ache_focused_crawl | [2018-08-08 15:32:05,297] INFO [qtp1776560893-15] (MatcherFilter.java:153) - The requested route [/static/css/main.b679dd0a.css] has not been mapped in Spark for Accept: [text/css,*/*;q=0.1]
ache_focused_crawl | [2018-08-08 15:32:05,337] INFO [qtp1776560893-16] (MatcherFilter.java:153) - The requested route [/static/js/main.ce18de7a.js] has not been mapped in Spark for Accept: [*/*]
ache_focused_crawl | [2018-08-08 15:32:05,868] INFO [qtp1776560893-10] (MatcherFilter.java:153) - The requested route [/static/media/ache-logo.eb3a2cca.png] has not been mapped in Spark for Accept: [image/webp,image/apng,image/*,*/*;q=0.8]
ache_focused_crawl | [2018-08-08 15:32:07,622] INFO [qtp1776560893-13] (MatcherFilter.java:153) - The requested route [/static/media/glyphicons-halflings-regular.448c34a5.woff2] has not been mapped in Spark for Accept: [*/*]
ache_focused_crawl | [2018-08-08 15:32:13,898]ERROR [qtp1776560893-17] (CrawlerResource.java:110) - Failed to start crawler.
ache_focused_crawl | java.lang.RuntimeException: Failed to open database at /data/data_url/dir
ache_focused_crawl |    at focusedCrawler.util.persistence.rocksdb.RocksDBHashtable.<init>(RocksDBHashtable.java:45)
ache_focused_crawl |    at focusedCrawler.util.persistence.PersistentHashtable.<init>(PersistentHashtable.java:75)
ache_focused_crawl |    at focusedCrawler.link.frontier.Frontier.<init>(Frontier.java:21)
ache_focused_crawl |    at focusedCrawler.link.frontier.FrontierManagerFactory.create(FrontierManagerFactory.java:30)
ache_focused_crawl |    at focusedCrawler.link.LinkStorage.create(LinkStorage.java:177)
ache_focused_crawl |    at focusedCrawler.crawler.async.AsyncCrawler.create(AsyncCrawler.java:111)
ache_focused_crawl |    at focusedCrawler.rest.resources.CrawlerResource.lambda$new$2(CrawlerResource.java:98)
ache_focused_crawl |    at focusedCrawler.rest.Transformers.lambda$json$1(Transformers.java:61)
ache_focused_crawl |    at spark.RouteImpl$1.handle(RouteImpl.java:61)
ache_focused_crawl |    at spark.http.matching.Routes.execute(Routes.java:61)
ache_focused_crawl |    at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:127)
ache_focused_crawl |    at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50)
ache_focused_crawl |    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
ache_focused_crawl |    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
ache_focused_crawl |    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
ache_focused_crawl |    at org.eclipse.jetty.server.Server.handle(Server.java:517)
ache_focused_crawl |    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
ache_focused_crawl |    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
ache_focused_crawl |    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
ache_focused_crawl |    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
ache_focused_crawl |    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
ache_focused_crawl |    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
ache_focused_crawl |    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
ache_focused_crawl |    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
ache_focused_crawl |    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
ache_focused_crawl |    at java.lang.Thread.run(Thread.java:748)
ache_focused_crawl | Caused by: org.rocksdb.RocksDBException: IO error: directory: Invalid argument
ache_focused_crawl |    at org.rocksdb.RocksDB.open(Native Method)
ache_focused_crawl |    at org.rocksdb.RocksDB.open(RocksDB.java:184)
ache_focused_crawl |    at focusedCrawler.util.persistence.rocksdb.RocksDBHashtable.<init>(RocksDBHashtable.java:43)
ache_focused_crawl |    ... 25 common frames omitted

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions