karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-4059) Exception thrown during elasticsearch startup
Date Tue, 13 Oct 2015 15:14:05 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955094#comment-14955094
] 

Jean-Baptiste Onofré commented on KARAF-4059:
---------------------------------------------

The upgrade to elasticsearch 1.7.1 will fix the problem.

> Exception thrown during elasticsearch startup
> ---------------------------------------------
>
>                 Key: KARAF-4059
>                 URL: https://issues.apache.org/jira/browse/KARAF-4059
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: decanter-1.0.1
>
>
> When installing the Decanter elasticsearch feature, we can see in the log:
> {code}
> 2015-10-13 11:36:27,408 | WARN  | .elasticsearch]) | discovery                      
 | 52 - org.apache.servicemix.bundles.elasticsearch - 1.6.0.1 | [root] waited for 30s and
no initial state was set by the discovery
> 2015-10-13 11:36:27,409 | ERROR | .elasticsearch]) | Activator                      
 | 51 - org.apache.karaf.decanter.elasticsearch - 1.0.1.SNAPSHOT | Failed to starts embedded
elasticsearch node
> org.elasticsearch.ElasticsearchIllegalStateException: Can't move to started state when
closed
>         at org.elasticsearch.common.component.Lifecycle.canMoveToStarted(Lifecycle.java:117)[52:org.apache.servicemix.bundles.elasticsearch:1.6.0.1]
>         at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:79)[52:org.apache.servicemix.bundles.elasticsearch:1.6.0.1]
>         at org.elasticsearch.node.internal.InternalNode.start(InternalNode.java:268)[52:org.apache.servicemix.bundles.elasticsearch:1.6.0.1]
>         at org.apache.karaf.decanter.elasticsearch.EmbeddedNode.start(EmbeddedNode.java:106)[51:org.apache.karaf.decanter.elasticsearch:1.0.1.SNAPSHOT]
>         at org.apache.karaf.decanter.elasticsearch.Activator$ConfigUpdater.updated(Activator.java:94)[51:org.apache.karaf.decanter.elasticsearch:1.0.1.SNAPSHOT]
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1440)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1396)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[3:org.apache.felix.configadmin:1.8.4]
>         at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
> 2015-10-13 11:36:27,411 | ERROR | .elasticsearch]) | configadmin                    
 | 3 - org.apache.felix.configadmin - 1.8.4 | [org.osgi.service.cm.ManagedService, id=111,
unregistered]: Updating configuration org.apache.karaf.decanter.elasticsearch caused a problem:
Failed to starts embedded elasticsearch node
> org.osgi.service.cm.ConfigurationException: null : Failed to starts embedded elasticsearch
node
>         at org.apache.karaf.decanter.elasticsearch.Activator$ConfigUpdater.updated(Activator.java:98)[51:org.apache.karaf.decanter.elasticsearch:1.0.1.SNAPSHOT]
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1440)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1396)[3:org.apache.felix.configadmin:1.8.4]
>         at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[3:org.apache.felix.configadmin:1.8.4]
>         at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
> Caused by: org.elasticsearch.ElasticsearchIllegalStateException: Can't move to started
state when closed
>         at org.elasticsearch.common.component.Lifecycle.canMoveToStarted(Lifecycle.java:117)[52:org.apache.servicemix.bundles.elasticsearch:1.6.0.1]
>         at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:79)[52:org.apache.servicemix.bundles.elasticsearch:1.6.0.1]
>         at org.elasticsearch.node.internal.InternalNode.start(InternalNode.java:268)[52:org.apache.servicemix.bundles.elasticsearch:1.6.0.1]
>         at org.apache.karaf.decanter.elasticsearch.EmbeddedNode.start(EmbeddedNode.java:106)[51:org.apache.karaf.decanter.elasticsearch:1.0.1.SNAPSHOT]
>         at org.apache.karaf.decanter.elasticsearch.Activator$ConfigUpdater.updated(Activator.java:94)[51:org.apache.karaf.decanter.elasticsearch:1.0.1.SNAPSHOT]
>         ... 7 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message