{"action":"created","issue":{"url":"https://api.github.com/repos/dadoonet/fscrawler/issues/255","repository_url":"https://api.github.com/repos/dadoonet/fscrawler","labels_url":"https://api.github.com/repos/dadoonet/fscrawler/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/dadoonet/fscrawler/issues/255/comments","events_url":"https://api.github.com/repos/dadoonet/fscrawler/issues/255/events","html_url":"https://github.com/dadoonet/fscrawler/issues/255","id":197704885,"number":255,"title":"fscrawler does not recover when it lost communication with elasticsearch","user":{"login":"twindragons1987","id":7849510,"avatar_url":"https://avatars.githubusercontent.com/u/7849510?v=3","gravatar_id":"","url":"https://api.github.com/users/twindragons1987","html_url":"https://github.com/twindragons1987","followers_url":"https://api.github.com/users/twindragons1987/followers","following_url":"https://api.github.com/users/twindragons1987/following{/other_user}","gists_url":"https://api.github.com/users/twindragons1987/gists{/gist_id}","starred_url":"https://api.github.com/users/twindragons1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twindragons1987/subscriptions","organizations_url":"https://api.github.com/users/twindragons1987/orgs","repos_url":"https://api.github.com/users/twindragons1987/repos","events_url":"https://api.github.com/users/twindragons1987/events{/privacy}","received_events_url":"https://api.github.com/users/twindragons1987/received_events","type":"User","site_admin":false},"labels":[{"id":6661770,"url":"https://api.github.com/repos/dadoonet/fscrawler/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"closed","locked":false,"assignee":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"assignees":[{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dadoonet/fscrawler/milestones/16","html_url":"https://github.com/dadoonet/fscrawler/milestone/16","labels_url":"https://api.github.com/repos/dadoonet/fscrawler/milestones/16/labels","id":1863167,"number":16,"title":"2.2","description":"","creator":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":49,"state":"open","created_at":"2016-07-04T12:40:33Z","updated_at":"2016-12-31T00:18:10Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-12-27T13:42:27Z","updated_at":"2016-12-31T00:18:10Z","closed_at":"2016-12-31T00:18:10Z","body":"Hi \r\nI am trying to run fscrawler on my local machine to read data that has been extracted from readpst command and sending it for elasticsearh. It works fine for some iterations and then it gives following error and doesn't recover. Can some one suggest if I am doing something wrong\r\n\r\n```\r\n17:06:22,255 DEBUG [f.p.e.c.f.FsCrawlerImpl] Looking for removed files in [/MY_PATH/]...\r\n17:06:22,255 TRACE [f.p.e.c.f.FsCrawlerImpl] Querying elasticsearch for files in dir [path.encoded:7fbc1f13665e5067aa6550ad5b4a6ba5]\r\n17:06:22,255 WARN  [f.p.e.c.f.FsCrawlerImpl] Error while indexing content from [java.io.IOException: no active node found. Start an elasticsearch cluster first! Expecting something running at [localhost:9200], /MY_PATH]\r\n17:06:22,255 DEBUG [f.p.e.c.f.FsCrawlerImpl] Fs crawler is going to sleep for 15m\r\n17:06:26,295 DEBUG [f.p.e.c.f.c.BulkProcessor] Going to execute new bulk composed of 14 actions\r\n17:06:26,295 WARN  [f.p.e.c.f.c.BulkProcessor] Error executing bulk\r\njava.io.IOException: no active node found. Start an elasticsearch cluster first! Expecting something running at [localhost:9200]\r\nat fr.pilato.elasticsearch.crawler.fs.client.ElasticsearchClient.findNextNode(ElasticsearchClient.java:114) ~[fscrawler-2.1.jar:?]\r\n\tat fr.pilato.elasticsearch.crawler.fs.client.ElasticsearchClient.bulk(ElasticsearchClient.java:243) ~[fscrawler-2.1.jar:?]\r\n\tat fr.pilato.elasticsearch.crawler.fs.client.BulkProcessor.execute(BulkProcessor.java:136) ~[fscrawler-2.1.jar:?]\r\n\tat fr.pilato.elasticsearch.crawler.fs.client.BulkProcessor.executeWhenNeeded(BulkProcessor.java:123) ~[fscrawler-2.1.jar:?]\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]\r\n\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_111]\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_111]\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_111]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]\r\n\tat java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dadoonet/fscrawler/issues/comments/269838269","html_url":"https://github.com/dadoonet/fscrawler/issues/255#issuecomment-269838269","issue_url":"https://api.github.com/repos/dadoonet/fscrawler/issues/255","id":269838269,"user":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T00:18:10Z","updated_at":"2016-12-31T00:18:10Z","body":"Closing for now. Feel free to reopen if you can see that problem again with 2.2."}}
{"actor":{"display_login":"dadoonet"}}