Launching tribe node fails


(Steffen Winther Sørensen) #1

Wanting to install a tribe node locally with kibana so as to connect to two ES clusters.
Trying to start the tribe node first just connecting to one cluster I get an error that hunspeel is unreadable as such file isn't found.

I dont seem to be able to find a RC on the net, anyone got some pointers/hints, TIA.

elasticsearch.yml:
node.name: kibana
network.host: 127.0.0.1

tribe:
perf:
cluster.name: mxes_data
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["es1", "es2", ... "esM"]

node log says:

[2016-01-10 17:19:00,178][INFO ][node ] [kibana] version[2.1.1], pid[25793], build[40e2c53/2015-12-15T13:05:55Z]
[2016-01-10 17:19:00,178][INFO ][node ] [kibana] initializing ...
[2016-01-10 17:19:00,223][INFO ][plugins ] [kibana] loaded [], sites []
[2016-01-10 17:19:01,629][INFO ][node ] [kibana/perf] version[2.1.1], pid[25793], build[40e2c53/2015-12-15T13:05:55Z]
[2016-01-10 17:19:01,629][INFO ][node ] [kibana/perf] initializing ...
[2016-01-10 17:19:01,700][INFO ][plugins ] [kibana/perf] loaded [], sites []
[2016-01-10 17:19:02,736][ERROR][bootstrap ] Guice Exception: java.security.AccessControlException: access denied ("java.io.FilePermission" "/usr/share/elasticsearch/config/hunspell" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at sun.nio.fs.UnixPath.checkRead(Unknown Source)
at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(Unknown Source)
at sun.nio.fs.UnixFileSystemProvider.readAttributes(Unknown Source)
at sun.nio.fs.LinuxFileSystemProvider.readAttributes(Unknown Source)
at java.nio.file.Files.readAttributes(Unknown Source)
at java.nio.file.Files.isDirectory(Unknown Source)
at org.elasticsearch.indices.analysis.HunspellService.scanAndLoadDictionaries(HunspellService.java:127)
at org.elasticsearch.indices.analysis.HunspellService.(HunspellService.java:102)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at <<>>
at org.elasticsearch.node.Node.(Node.java:200)
at org.elasticsearch.tribe.TribeClientNode.(TribeClientNode.java:35)
at org.elasticsearch.tribe.TribeService.(TribeService.java:140)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at <<>>
at org.elasticsearch.node.Node.(Node.java:200)
at org.elasticsearch.node.Node.(Node.java:128)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
<<>>


(Mark Walkom) #2

You're using hunspell in one of your clusters?


(Steffen Winther Sørensen) #3

Sorry for the delayed reply, got riped away for other matters...

Not using hunspell by choice, would that be per cluster of maybe per index?
Hints on how to check cluster/index for usage of spells and possible remediate would be appreciated


(Steffen Winther Sørensen) #4

Appreciate if anyone got a hint on this...


(system) #5