{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/26456","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26456/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26456/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26456/events","html_url":"https://github.com/elastic/elasticsearch/issues/26456","id":254340562,"number":26456,"title":"Could not find hunspell dictionary [cs_CZ]","user":{"login":"tuzko","id":29458609,"avatar_url":"https://avatars1.githubusercontent.com/u/29458609?v=4","gravatar_id":"","url":"https://api.github.com/users/tuzko","html_url":"https://github.com/tuzko","followers_url":"https://api.github.com/users/tuzko/followers","following_url":"https://api.github.com/users/tuzko/following{/other_user}","gists_url":"https://api.github.com/users/tuzko/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzko/subscriptions","organizations_url":"https://api.github.com/users/tuzko/orgs","repos_url":"https://api.github.com/users/tuzko/repos","events_url":"https://api.github.com/users/tuzko/events{/privacy}","received_events_url":"https://api.github.com/users/tuzko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-31T13:48:02Z","updated_at":"2017-09-01T09:01:29Z","closed_at":null,"author_association":"NONE","body":"No way to get work on ubuntu, at fedora same configuration all works\r\n\r\n```\r\nsudo -H -u elasticsearch bash -c '/usr/bin/java -Xms512m -Xmx512m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -XX:+HeapDumpOnOutOfMemoryError -Des.path.home=/usr/share/elasticsearch -cp \"/usr/share/elasticsearch/lib/*\" org.elasticsearch.bootstrap.Elasticsearch -p /var/run/elasticsearch/elasticsearch.pid --quiet -Edefault.path.logs=/var/log/elasticsearch -Edefault.path.data=/var/lib/elasticsearch -Edefault.path.conf=/etc/elasticsearch'\r\n```\r\n\r\n```\r\nls -la /etc/elasticsearch/\r\ntotal 36\r\ndrwxr-x---   4 root elasticsearch 4096 Aug 31 15:36 .\r\ndrwxr-xr-x 111 root root          4096 Aug 31 13:42 ..\r\n-rw-rw----   1 root elasticsearch 2875 Aug 31 15:02 elasticsearch.yml\r\ndrwxr-xr-x   3 root elasticsearch 4096 Aug 31 13:37 hunspell\r\n-rw-rw----   1 root elasticsearch 3068 Aug 31 15:16 jvm.options\r\n-rw-rw----   1 root elasticsearch 3121 Aug 31 13:59 jvm.options.dpkg-old\r\n-rw-rw----   1 root elasticsearch 4668 Aug 31 15:36 log4j2.properties\r\ndrwxr-x---   2 root elasticsearch 4096 Aug 14 14:35 scripts\r\n```\r\n\r\n[2017-08-31T15:37:24,252][DEBUG][o.e.i.a.HunspellService  ] [node-1] Loading hunspell dictionary [cs_CZ]...\r\n\r\n```\r\ncurl -X PUT 'localhost:9200/i' -d '{\r\n  \"settings\" : {\r\n    \"analysis\" : {\r\n      \"analyzer\" : {\r\n        \"cestina_hunspell\" : {\r\n          \"type\" : \"custom\",\r\n          \"tokenizer\" : \"standard\",\r\n          \"filter\" : [ \"stopwords_CZ\", \"cs_CZ\", \"lowercase\", \"stopwords_CZ\", \"remove_duplicities\" ]\r\n        }\r\n      },\r\n      \"filter\" : {\r\n        \"stopwords_CZ\" : {\r\n          \"type\" : \"stop\",\r\n          \"stopwords\" : [ \"právě\", \"že\", \"_czech_\" ],\r\n          \"ignore_case\" : true\r\n        },\r\n        \"cs_CZ\" : {\r\n          \"type\" : \"hunspell\",\r\n          \"locale\" : \"cs_CZ\",\r\n          \"dedup\" : true,\r\n          \"recursion_level\" : 0\r\n        },\r\n        \"remove_duplicities\" : {\r\n          \"type\" : \"unique\",\r\n          \"only_on_same_position\" : true\r\n}}}}}'\r\n```\r\n```\r\n{\"error\":{\"root_cause\":[{\"type\":\"index_creation_exception\",\"reason\":\"failed to create index\"}],\"type\":\"unchecked_execution_exception\",\"reason\":\"ElasticsearchException[Could not find hunspell dictionary [cs_CZ]]\",\"caused_by\":{\"type\":\"exception\",\"reason\":\"Could not find hunspell dictionary [cs_CZ]\"}},\"status\":500}\r\n```\r\n\r\n\r\nVersion 5.5.2\r\nLinux ubuntu 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\r\njava version \"1.8.0_144\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_144-b01)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/326529341","html_url":"https://github.com/elastic/elasticsearch/issues/26456#issuecomment-326529341","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26456","id":326529341,"user":{"login":"jpountz","id":299848,"avatar_url":"https://avatars2.githubusercontent.com/u/299848?v=4","gravatar_id":"","url":"https://api.github.com/users/jpountz","html_url":"https://github.com/jpountz","followers_url":"https://api.github.com/users/jpountz/followers","following_url":"https://api.github.com/users/jpountz/following{/other_user}","gists_url":"https://api.github.com/users/jpountz/gists{/gist_id}","starred_url":"https://api.github.com/users/jpountz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpountz/subscriptions","organizations_url":"https://api.github.com/users/jpountz/orgs","repos_url":"https://api.github.com/users/jpountz/repos","events_url":"https://api.github.com/users/jpountz/events{/privacy}","received_events_url":"https://api.github.com/users/jpountz/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T09:01:29Z","updated_at":"2017-09-01T09:01:29Z","author_association":"CONTRIBUTOR","body":"Did you check _all_ nodes of the cluster?"}}
{"actor":{"display_login":"jpountz"}}