Skip to end of metadata
Go to start of metadata


Bitbucket Datacenter 구성시 Elasticeaerch를 외부에 설치해야 한다. 그리고 Elasticsearch에 Buckler라는 plugin 설치 후 다음과 같은 원인으로 elasticsearch가 기동하지 않을 때의 조치 방법

오류 메시지:

[2019-11-05T06:30:29,908][DEBUG][o.e.a.ActionModule       ] [i7kudWM] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-11-05T06:30:29,909][DEBUG][o.e.a.ActionModule       ] [i7kudWM] Using REST wrapper from plugin com.atlassian.elasticsearch.buckler.BucklerPlugin
[2019-11-05T06:30:29,918][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [i7kudWM] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: Cannot have more than one plugin implementing a REST wrapper
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.6.1.jar:6.6.1]
        at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.6.1.jar:6.6.1]
Caused by: java.lang.IllegalArgumentException: Cannot have more than one plugin implementing a REST wrapper
        at org.elasticsearch.action.ActionModule.<init>(ActionModule.java:382) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.node.Node.<init>(Node.java:477) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.node.Node.<init>(Node.java:265) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.6.1.jar:6.6.1]



Try disabling xpack security features (it’s stuff that readonlyrest offers anyway) from elasticsearch.yml

xpack.security.enabled:false
  • No labels