Watcher Exception without using Watcher

HI, I'm having below exception in elasticsearch, of course, problems goes away once I grant permission to elasticsearch account. But since I'm not using Watcher, and I didn't install the plugin, why is watcher throwing exceptions? and the script folder is empty. Thanks.
I'm using ElasticSearch 2.4, with Marvel installed.

failed to run scheduled task [org.elasticsearch.watcher.ResourceWatcherService$ResourceMonitor@4e287f0c] on thread pool [same] access denied ("" "/etc/elasticsearch/scripts" "read")
at java.lang.SecurityManager.checkPermission(
at java.lang.SecurityManager.checkRead(
at sun.nio.fs.UnixPath.checkRead(
at sun.nio.fs.UnixFileSystemProvider.checkAccess(
at java.nio.file.Files.exists(
at org.elasticsearch.watcher.FileWatcher$FileObserver.checkAndNotify(
at org.elasticsearch.watcher.FileWatcher.doCheckAndNotify(
at org.elasticsearch.watcher.AbstractResourceWatcher.checkAndNotify(
at org.elasticsearch.watcher.ResourceWatcherService$
at org.elasticsearch.threadpool.ThreadPool$ReschedulingRunnable.doRun(
at org.elasticsearch.threadpool.ThreadPool$
at java.util.concurrent.Executors$
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(
at java.util.concurrent.ScheduledThreadPoolExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$


the ResourceWatcherService is not a component from watcher, but an Elasticsearch component that watches resources (as in files and directories) to trigger reloading, if on-disk information has changed. This service needs to have read access to the directories it is monitoring. The scripts directory is one of those.

Hope this helps!


got it! thank you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.