[2019-07-10T14:02:15,516][WARN ][r.suppressed ] [elk-lab-zone0-es-master-001] path: /, params: {}
tech.beshu.ror.es.RorNotReadyResponse: ReadonlyREST is not ready
at tech.beshu.ror.es.IndexLevelActionFilter.lambda$apply$1(IndexLevelActionFilter.java:139) [readonlyrest-1.18.2_es6.8.0.jar:?]
at java.security.AccessController.doPrivileged(Native Method) [?:?]
at tech.beshu.ror.es.IndexLevelActionFilter.apply(IndexLevelActionFilter.java:133) [readonlyrest-1.18.2_es6.8.0.jar:?]
at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:165) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:139) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:81) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:87) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:76) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:403) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.action.RestMainAction.lambda$prepareRequest$0(RestMainAction.java:54) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:115) [elasticsearch-6.8.0.jar:6.8.0]
at tech.beshu.ror.es.ReadonlyRestPlugin.lambda$null$4(ReadonlyRestPlugin.java:217) [readonlyrest-1.18.2_es6.8.0.jar:?]
at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:240) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:336) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:174) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.http.netty4.Netty4HttpServerTransport.dispatchRequest(Netty4HttpServerTransport.java:551) [transport-netty4-client-6.8.0.jar:6.8.0]
Elasticsearch version is 6.8.0 and I’m trying to start the plugin on a master node with a minimal config:
Could someone explain to me what else I need to do in order for the plugin to start? Can the plugin be made to write some additional log output for troubleshooting/testing purposes?
OK that message is cool, it should keep on checking on the index, but should not prevent ROR from starting. Did you check if you have that other exception?
The exception you referred to isn’t listed. There’s an elasticsearch exception though:
java.lang.UnsupportedOperationException: sun.misc.Unsafe unavailable
at io.netty.util.internal.CleanerJava9.<clinit>(CleanerJava9.java:68) [netty-common-4.1.32.Final.jar:4.1.32.Final]
at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:172) [netty-common-4.1.32.Final.jar:4.1.32.Final]
at io.netty.util.ConstantPool.<init>(ConstantPool.java:32) [netty-common-4.1.32.Final.jar:4.1.32.Final]
I’ve seen this before when logging at DEBUG and assume it’s unimportant?
[2019-07-11T09:29:56,086][DEBUG][t.b.r.b.Ror$ ] [lab-master-001] [CLUSTERWIDE SETTINGS] Loading ReadonlyREST config from index ...
[2019-07-11T09:29:56,087][DEBUG][t.b.r.b.RorInstance ] [lab-master-001] [CLUSTERWIDE SETTINGS] Checking index config failed: Cannot find index with ROR configuration
[2019-07-11T09:29:56,087][DEBUG][t.b.r.b.RorInstance ] [lab-master-001] [CLUSTERWIDE SETTINGS] Scheduling next in-index config check within 5 seconds
[2019-07-11T09:30:01,088][DEBUG][t.b.r.b.Ror$ ] [lab-master-001] [CLUSTERWIDE SETTINGS] Loading ReadonlyREST config from index ...
[2019-07-11T09:30:01,088][DEBUG][t.b.r.b.RorInstance ] [lab-master-001] [CLUSTERWIDE SETTINGS] Checking index config failed: Cannot find index with ROR configuration
[2019-07-11T09:30:01,088][DEBUG][t.b.r.b.RorInstance ] [lab-master-001] [CLUSTERWIDE SETTINGS] Scheduling next in-index config check within 5 seconds
[2019-07-11T09:30:02,006][WARN ][r.suppressed ] [lab-master-001] path: /, params: {}
tech.beshu.ror.es.RorNotReadyResponse: ReadonlyREST is not ready
at tech.beshu.ror.es.IndexLevelActionFilter.lambda$apply$1(IndexLevelActionFilter.java:139) [readonlyrest-1.18.3-pre1_es6.8.0.jar:?]
at java.security.AccessController.doPrivileged(Native Method) [?:?]
at tech.beshu.ror.es.IndexLevelActionFilter.apply(IndexLevelActionFilter.java:133) [readonlyrest-1.18.3-pre1_es6.8.0.jar:?]
at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:165) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:139) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:81) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:87) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:76) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:403) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.action.RestMainAction.lambda$prepareRequest$0(RestMainAction.java:54) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:115) [elasticsearch-6.8.0.jar:6.8.0]
at tech.beshu.ror.es.ReadonlyRestPlugin.lambda$getRestHandlerWrapper$4(ReadonlyRestPlugin.java:217) [readonlyrest-1.18.3-pre1_es6.8.0.jar:?]
at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:240) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:336) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:174) [elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.http.netty4.Netty4HttpServerTransport.dispatchRequest(Netty4HttpServerTransport.java:551) [transport-netty4-client-6.8.0.jar:6.8.0]
at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:137) [transport-netty4-client-6.8.0.jar:6.8.0]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]