{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/3350","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/3350/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/3350/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/3350/events","html_url":"https://github.com/elastic/elasticsearch/issues/3350","id":16894226,"number":3350,"title":"Conflicting META-INF between elasticsearch & lucene-core/lucene-codecs for packaging into standalone binary","user":{"login":"vlovich","id":201287,"avatar_url":"https://avatars.githubusercontent.com/u/201287?v=3","gravatar_id":"","url":"https://api.github.com/users/vlovich","html_url":"https://github.com/vlovich","followers_url":"https://api.github.com/users/vlovich/followers","following_url":"https://api.github.com/users/vlovich/following{/other_user}","gists_url":"https://api.github.com/users/vlovich/gists{/gist_id}","starred_url":"https://api.github.com/users/vlovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlovich/subscriptions","organizations_url":"https://api.github.com/users/vlovich/orgs","repos_url":"https://api.github.com/users/vlovich/repos","events_url":"https://api.github.com/users/vlovich/events{/privacy}","received_events_url":"https://api.github.com/users/vlovich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/non-issue","name":"non-issue","color":"cfcfcf"}],"state":"closed","locked":false,"assignee":{"login":"s1monw","id":973334,"avatar_url":"https://avatars.githubusercontent.com/u/973334?v=3","gravatar_id":"","url":"https://api.github.com/users/s1monw","html_url":"https://github.com/s1monw","followers_url":"https://api.github.com/users/s1monw/followers","following_url":"https://api.github.com/users/s1monw/following{/other_user}","gists_url":"https://api.github.com/users/s1monw/gists{/gist_id}","starred_url":"https://api.github.com/users/s1monw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1monw/subscriptions","organizations_url":"https://api.github.com/users/s1monw/orgs","repos_url":"https://api.github.com/users/s1monw/repos","events_url":"https://api.github.com/users/s1monw/events{/privacy}","received_events_url":"https://api.github.com/users/s1monw/received_events","type":"User","site_admin":false},"assignees":[{"login":"s1monw","id":973334,"avatar_url":"https://avatars.githubusercontent.com/u/973334?v=3","gravatar_id":"","url":"https://api.github.com/users/s1monw","html_url":"https://github.com/s1monw","followers_url":"https://api.github.com/users/s1monw/followers","following_url":"https://api.github.com/users/s1monw/following{/other_user}","gists_url":"https://api.github.com/users/s1monw/gists{/gist_id}","starred_url":"https://api.github.com/users/s1monw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1monw/subscriptions","organizations_url":"https://api.github.com/users/s1monw/orgs","repos_url":"https://api.github.com/users/s1monw/repos","events_url":"https://api.github.com/users/s1monw/events{/privacy}","received_events_url":"https://api.github.com/users/s1monw/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2013-07-17T22:34:18Z","updated_at":"2016-07-12T15:18:50Z","closed_at":"2013-07-20T06:15:20Z","body":"When bundling lucene-core, lucene-codec, & elasticsearch into a single executable JAR, there are conflicting files in META-INF:\r\n\r\nelasticsearch:\r\n        0  06-26-13 08:56   META-INF/services/org.apache.lucene.codecs.Codec\r\n        0  06-26-13 08:56   META-INF/services/org.apache.lucene.codecs.DocValuesFormat\r\n      147  06-26-13 08:56   META-INF/services/org.apache.lucene.codecs.PostingsFormat\r\n\r\nlucene-core:\r\n      987  06-09-13 12:01   META-INF/services/org.apache.lucene.codecs.Codec\r\n      853  06-09-13 12:01   META-INF/services/org.apache.lucene.codecs.DocValuesFormat\r\n      909  06-09-13 12:01   META-INF/services/org.apache.lucene.codecs.PostingsFormat\r\n\r\nlucene-codecs:\r\n      897  06-09-13 12:01   META-INF/services/org.apache.lucene.codecs.Codec\r\n      909  06-09-13 12:01   META-INF/services/org.apache.lucene.codecs.DocValuesFormat\r\n     1079  06-09-13 12:01   META-INF/services/org.apache.lucene.codecs.PostingsFormat\r\n\r\nWhen packaging everything into a standalone binary, it becomes unclear which ones I need.  Using the ones from elasticsearch, I get:\r\nCaused by: java.lang.ExceptionInInitializerError\r\n\tat org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)\r\nCaused by: java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.PostingsFormat with name 'Direct' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: [XBloomFilter, es090]"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/232081371","html_url":"https://github.com/elastic/elasticsearch/issues/3350#issuecomment-232081371","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/3350","id":232081371,"user":{"login":"ahmedahmedov","id":1683800,"avatar_url":"https://avatars.githubusercontent.com/u/1683800?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmedahmedov","html_url":"https://github.com/ahmedahmedov","followers_url":"https://api.github.com/users/ahmedahmedov/followers","following_url":"https://api.github.com/users/ahmedahmedov/following{/other_user}","gists_url":"https://api.github.com/users/ahmedahmedov/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedahmedov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedahmedov/subscriptions","organizations_url":"https://api.github.com/users/ahmedahmedov/orgs","repos_url":"https://api.github.com/users/ahmedahmedov/repos","events_url":"https://api.github.com/users/ahmedahmedov/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedahmedov/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T15:18:49Z","updated_at":"2016-07-12T15:18:49Z","body":"I am having the same issue here. I am already fed up with having to deal with lucene related version incompatibility issues. It almost never works out of the box. Although I have spent my whole day trying to get neo4j helloworld java api to work, I still haven't found a solution. Previous to this problem, I had to debug so many other lucene related issues. "}}
{"actor":{"display_login":"ahmedahmedov"}}