{"action":"created","issue":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-pinyin/issues/28","labels_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-pinyin/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-pinyin/issues/28/comments","events_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-pinyin/issues/28/events","html_url":"https://github.com/medcl/elasticsearch-analysis-pinyin/issues/28","id":124297960,"number":28,"title":"es2.1.1 下，pinyin,ik 共存插件导致 es 启动失败","user":{"login":"yandy","id":535319,"avatar_url":"https://avatars.githubusercontent.com/u/535319?v=3","gravatar_id":"","url":"https://api.github.com/users/yandy","html_url":"https://github.com/yandy","followers_url":"https://api.github.com/users/yandy/followers","following_url":"https://api.github.com/users/yandy/following{/other_user}","gists_url":"https://api.github.com/users/yandy/gists{/gist_id}","starred_url":"https://api.github.com/users/yandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandy/subscriptions","organizations_url":"https://api.github.com/users/yandy/orgs","repos_url":"https://api.github.com/users/yandy/repos","events_url":"https://api.github.com/users/yandy/events{/privacy}","received_events_url":"https://api.github.com/users/yandy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-30T03:07:21Z","updated_at":"2016-01-28T14:40:18Z","closed_at":null,"body":"只有 ik 或者只有 pinyin，es2.1.1 都能正常启动，但是一旦两个都安装，es 就会启动失败\r\n```\r\n[2015-12-30 03:07:04,397][INFO ][node                     ] [Eleggua] version[2.1.1], pid[1], build[40e2c53/2015-12-15T13:05:55Z]\r\n[2015-12-30 03:07:04,399][INFO ][node                     ] [Eleggua] initializing ...\r\nException in thread \"main\" java.lang.IllegalStateException: failed to load bundle [file:/usr/share/elasticsearch/plugins/pinyin/elasticsearch-analysis-pinyin-1.5.2.jar, file:/usr/share/elasticsearch/plugins/pinyin/pinyin4j-2.5.0.jar, file:/usr/share/elasticsearch/plugins/ik/commons-logging-1.2.jar, file:/usr/share/elasticsearch/plugins/ik/httpclient-4.4.1.jar, file:/usr/share/elasticsearch/plugins/ik/httpcore-4.4.1.jar, file:/usr/share/elasticsearch/plugins/ik/elasticsearch-analysis-ik-1.6.2.jar, file:/usr/share/elasticsearch/plugins/ik/commons-codec-1.9.jar] due to jar hell\r\nLikely root cause: java.lang.IllegalStateException: jar hell!\r\nclass: org.elasticsearch.analysis.PinyinIndicesAnalysis$3\r\njar1: /usr/share/elasticsearch/plugins/pinyin/elasticsearch-analysis-pinyin-1.5.2.jar\r\njar2: /usr/share/elasticsearch/plugins/ik/elasticsearch-analysis-ik-1.6.2.jar\r\n        at org.elasticsearch.bootstrap.JarHell.checkClass(JarHell.java:280)\r\n        at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:186)\r\n        at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:336)\r\n        at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:109)\r\n        at org.elasticsearch.node.Node.<init>(Node.java:146)\r\n        at org.elasticsearch.node.Node.<init>(Node.java:128)\r\n        at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)\r\n        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178))\r\n        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)\r\n        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)\r\nRefer to the log for complete error details.\r\n```"},"comment":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-pinyin/issues/comments/176212351","html_url":"https://github.com/medcl/elasticsearch-analysis-pinyin/issues/28#issuecomment-176212351","issue_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-pinyin/issues/28","id":176212351,"user":{"login":"zcgewu","id":6211911,"avatar_url":"https://avatars.githubusercontent.com/u/6211911?v=3","gravatar_id":"","url":"https://api.github.com/users/zcgewu","html_url":"https://github.com/zcgewu","followers_url":"https://api.github.com/users/zcgewu/followers","following_url":"https://api.github.com/users/zcgewu/following{/other_user}","gists_url":"https://api.github.com/users/zcgewu/gists{/gist_id}","starred_url":"https://api.github.com/users/zcgewu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcgewu/subscriptions","organizations_url":"https://api.github.com/users/zcgewu/orgs","repos_url":"https://api.github.com/users/zcgewu/repos","events_url":"https://api.github.com/users/zcgewu/events{/privacy}","received_events_url":"https://api.github.com/users/zcgewu/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T14:40:18Z","updated_at":"2016-01-28T14:40:18Z","body":"@singit  你说的插件名是指plugin-descriptor.properties文件name吗？"}}