brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigodwin <...@git.apache.org>
Subject [GitHub] brooklyn-library issue #97: Bring ElasticSearch entity up-to-date
Date Mon, 24 Apr 2017 11:11:25 GMT
Github user drigodwin commented on the issue:

    https://github.com/apache/brooklyn-library/pull/97
  
    When launching, Elastic search doesn't come up and I get this in the logs:
    ```
    [2017-04-24T10:52:27,283][ERROR][o.e.b.Bootstrap          ] [CUjVYrK] Exception
    org.elasticsearch.transport.BindTransportException: Failed to bind to [9300-9400]
    	at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:729) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:694) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:183)
~[?:?]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69)
~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.transport.TransportService.doStart(TransportService.java:196) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69)
~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.node.Node.start(Node.java:610) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:287) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:370) [elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) [elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) [elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:58)
[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) [elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.cli.Command.main(Command.java:88) [elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) [elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) [elasticsearch-5.3.0.jar:5.3.0]
    Caused by: java.net.BindException: Cannot assign requested address
    	at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
    	at sun.nio.ch.Net.bind(Net.java:433) ~[?:?]
    	at sun.nio.ch.Net.bind(Net.java:425) ~[?:?]
    	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:?]
    	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:127)
~[?:?]
    	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554) ~[?:?]
    	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)
~[?:?]
    	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:502)
~[?:?]
    	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:487)
~[?:?]
    	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980) ~[?:?]
    	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[?:?]
    	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:363) ~[?:?]
    	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
~[?:?]
    	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
~[?:?]
    	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445) ~[?:?]
    	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
~[?:?]
    	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_131]
    [2017-04-24T10:52:27,293][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught
exception in thread [main]
    org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to bind to
[9300-9400]]; nested: BindException[Cannot assign requested address];
    	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:58)
~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.3.0.jar:5.3.0]
    Caused by: org.elasticsearch.transport.BindTransportException: Failed to bind to [9300-9400]
    	at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:729) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:694) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:183)
~[?:?]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69)
~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.transport.TransportService.doStart(TransportService.java:196) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69)
~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.node.Node.start(Node.java:610) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:287) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:370) ~[elasticsearch-5.3.0.jar:5.3.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.3.0.jar:5.3.0]
    	... 6 more
    Caused by: java.net.BindException: Cannot assign requested address
    	at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
    	at sun.nio.ch.Net.bind(Net.java:433) ~[?:?]
    	at sun.nio.ch.Net.bind(Net.java:425) ~[?:?]
    	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:?]
    	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:127)
~[?:?]
    	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554) ~[?:?]
    	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)
~[?:?]
    	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:502)
~[?:?]
    	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:487)
~[?:?]
    	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980) ~[?:?]
    	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[?:?]
    	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:363) ~[?:?]
    	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
~[?:?]
    	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
~[?:?]
    	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445) ~[?:?]
    	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
~[?:?]
    	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message