[ERROR][bootstrap] {1.2.2}: Initialization Failed ... - NullPointerException[null]


(vjbangis) #1

Does anyone experience below

elasticsearch]$ tail -f /var/log/elasticsearch/lastikman.log
[2014-07-17 05:37:01,470][INFO ][node ] [Karma] version[
1.2.2], pid[12325], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-17 05:37:01,471][INFO ][node ] [Karma]
initializing ...
[2014-07-17 05:37:01,479][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • NullPointerException[null]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie Cooper]
    version[1.2.2], pid[19368], build[9902f08/2014-07-09T12:02:32Z]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie Cooper]
    initializing ...
    [2014-07-17 07:42:08,926][ERROR][bootstrap ] {1.2.2}:
    Initialization Failed ...
  • NullPointerException[null]

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c6c968b4-aeb4-41d3-96d5-608ea4b22444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(vineeth mohan-2) #2

Hi,

Can you enabled the debug mode in the lo config and paste the debug log
here.

Thanks
Vineeth

On Thu, Jul 17, 2014 at 1:15 PM, vjbangis jessviray0708@gmail.com wrote:

Does anyone experience below

elasticsearch]$ tail -f /var/log/elasticsearch/lastikman.log
[2014-07-17 05:37:01,470][INFO ][node ] [Karma]
version[1.2.2], pid[12325], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-17 05:37:01,471][INFO ][node ] [Karma]
initializing ...
[2014-07-17 05:37:01,479][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • NullPointerException[null]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] version[1.2.2], pid[19368], build[9902f08/2014-07-09T12:02:32Z]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] initializing ...
    [2014-07-17 07:42:08,926][ERROR][bootstrap ] {1.2.2}:
    Initialization Failed ...
  • NullPointerException[null]

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c6c968b4-aeb4-41d3-96d5-608ea4b22444%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c6c968b4-aeb4-41d3-96d5-608ea4b22444%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3DfmdFdzf-YCWh1G0ffD9bzyM26zSrUpyZHWOSZdihcUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #3

Do you try to execute Elasticsearch on a non-executable file system?

Jörg

On Thu, Jul 17, 2014 at 9:45 AM, vjbangis jessviray0708@gmail.com wrote:

Does anyone experience below

elasticsearch]$ tail -f /var/log/elasticsearch/lastikman.log
[2014-07-17 05:37:01,470][INFO ][node ] [Karma]
version[1.2.2], pid[12325], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-17 05:37:01,471][INFO ][node ] [Karma]
initializing ...
[2014-07-17 05:37:01,479][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • NullPointerException[null]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] version[1.2.2], pid[19368], build[9902f08/2014-07-09T12:02:32Z]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] initializing ...
    [2014-07-17 07:42:08,926][ERROR][bootstrap ] {1.2.2}:
    Initialization Failed ...
  • NullPointerException[null]

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c6c968b4-aeb4-41d3-96d5-608ea4b22444%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c6c968b4-aeb4-41d3-96d5-608ea4b22444%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHr%2BFmneowduEco%3DYqQRNZYuAN0S9N535fM4WwD_Y8OTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(vjbangis) #4

$ elasticsearch-1.2.2/bin/elasticsearch -f
getopt: invalid option -- 'f'

[2014-07-21 03:00:55,718][INFO ][node ] [Amahl Farouk]
version[1.2.2], pid[1462], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-21 03:00:55,720][INFO ][node ] [Amahl Farouk]
initializing ...
[2014-07-21 03:00:56,083][INFO ][plugins ] [Amahl Farouk]
loaded [cloud-aws], sites []
[2014-07-21 03:01:03,959][INFO ][node ] [Amahl Farouk]
initialized
[2014-07-21 03:01:03,960][INFO ][node ] [Amahl Farouk]
starting ...
[2014-07-21 03:01:04,208][INFO ][transport ] [Amahl Farouk]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address
{inet[/192.168.11.190:9300]}
[2014-07-21 03:01:07,272][WARN ][transport.netty ] [Amahl Farouk]
exception caught on transport layer [[id: 0x4796874d]], closing connection
java.net.SocketException: Network is unreachable
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2014-07-21 03:01:13,660][INFO ][cluster.service ] [Amahl Farouk]
new_master [Amahl
Farouk][6yAvrcqHSsqbyHe9EHRZ0w][VMLTMADV02][inet[/192.168.11.190:9300]],
reason: zen-disco-join (elected_as_master)
[2014-07-21 03:01:13,688][INFO ][discovery ] [Amahl Farouk]
lastikman/6yAvrcqHSsqbyHe9EHRZ0w
[2014-07-21 03:01:13,748][INFO ][http ] [Amahl Farouk]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/192.168.11.190:9200]}
[2014-07-21 03:01:13,792][INFO ][gateway ] [Amahl Farouk]
recovered [0] indices into cluster_state
[2014-07-21 03:01:13,794][INFO ][node ] [Amahl Farouk]
started

On Thursday, July 17, 2014 3:45:45 PM UTC+8, vjbangis wrote:

Does anyone experience below

elasticsearch]$ tail -f /var/log/elasticsearch/lastikman.log
[2014-07-17 05:37:01,470][INFO ][node ] [Karma]
version[1.2.2], pid[12325], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-17 05:37:01,471][INFO ][node ] [Karma]
initializing ...
[2014-07-17 05:37:01,479][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • NullPointerException[null]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] version[1.2.2], pid[19368], build[9902f08/2014-07-09T12:02:32Z]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] initializing ...
    [2014-07-17 07:42:08,926][ERROR][bootstrap ] {1.2.2}:
    Initialization Failed ...
  • NullPointerException[null]

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f43793d6-8124-4c15-9930-9dcd807e88ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Phillip Ulberg) #5

Same issue here, I upgraded to ES 1.2.2, and jdk 1.7.0_60-b19, debug log
output -

[2014-07-21 18:50:05,054][INFO ][node ] [p-esmon01]
version[1.2.2], pid[23697], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-21 18:50:05,054][INFO ][node ] [p-esmon01]
initializing ...
[2014-07-21 18:50:05,056][DEBUG][node ] [p-esmon01]
using home [/usr/share/elasticsearch], config [/etc/elasticsearch], data
[[/etc/elasticsearch/data]], logs [/var/log/elasticsearch], work
[/etc/elasticsearch/work], plugins [/usr/share/elasticsearch/plugins]
[2014-07-21 18:50:05,064][DEBUG][plugins ] [p-esmon01]
lucene property is not set in plugin es-plugin.properties file. Skipping
test.
[2014-07-21 18:50:05,074][DEBUG][plugins ] [p-esmon01]
skipping
[jar:file:/usr/share/elasticsearch/plugins/marvel/marvel-1.2.1.jar!/es-plugin.properties]
[2014-07-21 18:50:05,075][DEBUG][plugins ] [p-esmon01]
lucene property is not set in plugin es-plugin.properties file. Skipping
test.
[2014-07-21 18:50:05,075][DEBUG][plugins ] [p-esmon01]
[/usr/share/elasticsearch/plugins/http-basic-server-plugin/_site] directory
does not exist.
[2014-07-21 18:50:05,077][DEBUG][plugins ] [p-esmon01]
[/usr/share/elasticsearch/plugins/http-basic/_site] directory does not
exist.
[2014-07-21 18:50:05,078][INFO ][plugins ] [p-esmon01]
loaded [marvel, http-basic-server-plugin], sites [marvel, head]
[2014-07-21 18:50:05,104][DEBUG][common.compress.lzf ] using
[UnsafeChunkDecoder] decoder
[2014-07-21 18:50:05,113][DEBUG][env ] [p-esmon01]
using node location [[/etc/elasticsearch/data/p_es_clust_mon01/nodes/0]],
local_node_id [0]
[2014-07-21 18:50:05,907][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • ExecutionError[java.lang.NoClassDefFoundError:
    org/elasticsearch/rest/StringRestResponse]
    NoClassDefFoundError[org/elasticsearch/rest/StringRestResponse]

ClassNotFoundException[org.elasticsearch.rest.StringRestResponse]
org.elasticsearch.common.util.concurrent.ExecutionError:
java.lang.NoClassDefFoundError: org/elasticsearch/rest/StringRestResponse
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3934)
at
org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
at
org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
at
org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at
org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
at
org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
at
org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:148)
at
org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:204)
at
org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at
org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:188)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.NoClassDefFoundError:
org/elasticsearch/rest/StringRestResponse
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getDeclaredConstructors(Class.java:1901)
at
org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:177)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at
org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at
org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at
org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
at
org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
... 19 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.rest.StringRestResponse
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 32 more

[2014-07-21 18:50:05,908][DEBUG][bootstrap ] Exception
org.elasticsearch.common.util.concurrent.ExecutionError:
java.lang.NoClassDefFoundError: org/elasticsearch/rest/StringRestResponse
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3934)
at
org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
at
org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
at
org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at
org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
at
org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
at
org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:148)
at
org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:204)
at
org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at
org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:188)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.NoClassDefFoundError:
org/elasticsearch/rest/StringRestResponse
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getDeclaredConstructors(Class.java:1901)
at
org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:177)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at
org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at
org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at
org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
at
org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
... 19 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.rest.StringRestResponse
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 32 more

On Sunday, July 20, 2014 10:18:02 PM UTC-5, vjbangis wrote:

$ elasticsearch-1.2.2/bin/elasticsearch -f
getopt: invalid option -- 'f'

[2014-07-21 03:00:55,718][INFO ][node ] [Amahl Farouk]
version[1.2.2], pid[1462], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-21 03:00:55,720][INFO ][node ] [Amahl Farouk]
initializing ...
[2014-07-21 03:00:56,083][INFO ][plugins ] [Amahl Farouk]
loaded [cloud-aws], sites []
[2014-07-21 03:01:03,959][INFO ][node ] [Amahl Farouk]
initialized
[2014-07-21 03:01:03,960][INFO ][node ] [Amahl Farouk]
starting ...
[2014-07-21 03:01:04,208][INFO ][transport ] [Amahl Farouk]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/
192.168.11.190:9300]}
[2014-07-21 03:01:07,272][WARN ][transport.netty ] [Amahl Farouk]
exception caught on transport layer [[id: 0x4796874d]], closing connection
java.net.SocketException: Network is unreachable
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2014-07-21 03:01:13,660][INFO ][cluster.service ] [Amahl Farouk]
new_master [Amahl
Farouk][6yAvrcqHSsqbyHe9EHRZ0w][VMLTMADV02][inet[/192.168.11.190:9300]],
reason: zen-disco-join (elected_as_master)
[2014-07-21 03:01:13,688][INFO ][discovery ] [Amahl Farouk]
lastikman/6yAvrcqHSsqbyHe9EHRZ0w
[2014-07-21 03:01:13,748][INFO ][http ] [Amahl Farouk]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/
192.168.11.190:9200]}
[2014-07-21 03:01:13,792][INFO ][gateway ] [Amahl Farouk]
recovered [0] indices into cluster_state
[2014-07-21 03:01:13,794][INFO ][node ] [Amahl Farouk]
started

On Thursday, July 17, 2014 3:45:45 PM UTC+8, vjbangis wrote:

Does anyone experience below

elasticsearch]$ tail -f /var/log/elasticsearch/lastikman.log
[2014-07-17 05:37:01,470][INFO ][node ] [Karma]
version[1.2.2], pid[12325], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-17 05:37:01,471][INFO ][node ] [Karma]
initializing ...
[2014-07-17 05:37:01,479][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • NullPointerException[null]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] version[1.2.2], pid[19368], build[9902f08/2014-07-09T12:02:32Z]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] initializing ...
    [2014-07-17 07:42:08,926][ERROR][bootstrap ] {1.2.2}:
    Initialization Failed ...
  • NullPointerException[null]

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7a3c8c77-a9a9-4533-a0e9-1ced791179aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #6

You have to update your plugins marvel and http-basic-server-plugin to get
them to work with ES 1.2.2

Jörg

On Mon, Jul 21, 2014 at 9:02 PM, Phillip Ulberg phillip.ulberg@gmail.com
wrote:

Same issue here, I upgraded to ES 1.2.2, and jdk 1.7.0_60-b19, debug log
output -

[2014-07-21 18:50:05,054][INFO ][node ] [p-esmon01]
version[1.2.2], pid[23697], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-21 18:50:05,054][INFO ][node ] [p-esmon01]
initializing ...
[2014-07-21 18:50:05,056][DEBUG][node ] [p-esmon01]
using home [/usr/share/elasticsearch], config [/etc/elasticsearch], data
[[/etc/elasticsearch/data]], logs [/var/log/elasticsearch], work
[/etc/elasticsearch/work], plugins [/usr/share/elasticsearch/plugins]
[2014-07-21 18:50:05,064][DEBUG][plugins ] [p-esmon01]
lucene property is not set in plugin es-plugin.properties file. Skipping
test.
[2014-07-21 18:50:05,074][DEBUG][plugins ] [p-esmon01]
skipping
[jar:file:/usr/share/elasticsearch/plugins/marvel/marvel-1.2.1.jar!/es-plugin.properties]
[2014-07-21 18:50:05,075][DEBUG][plugins ] [p-esmon01]
lucene property is not set in plugin es-plugin.properties file. Skipping
test.
[2014-07-21 18:50:05,075][DEBUG][plugins ] [p-esmon01]
[/usr/share/elasticsearch/plugins/http-basic-server-plugin/_site] directory
does not exist.
[2014-07-21 18:50:05,077][DEBUG][plugins ] [p-esmon01]
[/usr/share/elasticsearch/plugins/http-basic/_site] directory does not
exist.
[2014-07-21 18:50:05,078][INFO ][plugins ] [p-esmon01]
loaded [marvel, http-basic-server-plugin], sites [marvel, head]
[2014-07-21 18:50:05,104][DEBUG][common.compress.lzf ] using
[UnsafeChunkDecoder] decoder
[2014-07-21 18:50:05,113][DEBUG][env ] [p-esmon01]
using node location [[/etc/elasticsearch/data/p_es_clust_mon01/nodes/0]],
local_node_id [0]
[2014-07-21 18:50:05,907][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • ExecutionError[java.lang.NoClassDefFoundError:
    org/elasticsearch/rest/StringRestResponse]
    NoClassDefFoundError[org/elasticsearch/rest/StringRestResponse]

ClassNotFoundException[org.elasticsearch.rest.StringRestResponse]
org.elasticsearch.common.util.concurrent.ExecutionError:
java.lang.NoClassDefFoundError: org/elasticsearch/rest/StringRestResponse
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3934)
at
org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
at
org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
at
org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at
org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
at
org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
at
org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:148)
at
org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:204)
at
org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at
org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:188)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.NoClassDefFoundError:
org/elasticsearch/rest/StringRestResponse
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getDeclaredConstructors(Class.java:1901)
at
org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:177)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at
org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at
org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at
org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
at
org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
... 19 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.rest.StringRestResponse
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 32 more

[2014-07-21 18:50:05,908][DEBUG][bootstrap ] Exception
org.elasticsearch.common.util.concurrent.ExecutionError:
java.lang.NoClassDefFoundError: org/elasticsearch/rest/StringRestResponse
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3934)
at
org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
at
org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
at
org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at
org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
at
org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
at
org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:148)
at
org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:204)
at
org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at
org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:188)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.NoClassDefFoundError:
org/elasticsearch/rest/StringRestResponse
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getDeclaredConstructors(Class.java:1901)
at
org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:177)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at
org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at
org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at
org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
at
org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
... 19 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.rest.StringRestResponse
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 32 more

On Sunday, July 20, 2014 10:18:02 PM UTC-5, vjbangis wrote:

$ elasticsearch-1.2.2/bin/elasticsearch -f
getopt: invalid option -- 'f'

[2014-07-21 03:00:55,718][INFO ][node ] [Amahl
Farouk] version[1.2.2], pid[1462], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-21 03:00:55,720][INFO ][node ] [Amahl
Farouk] initializing ...
[2014-07-21 03:00:56,083][INFO ][plugins ] [Amahl
Farouk] loaded [cloud-aws], sites []
[2014-07-21 03:01:03,959][INFO ][node ] [Amahl
Farouk] initialized
[2014-07-21 03:01:03,960][INFO ][node ] [Amahl
Farouk] starting ...
[2014-07-21 03:01:04,208][INFO ][transport ] [Amahl
Farouk] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/
192.168.11.190:9300]}
[2014-07-21 03:01:07,272][WARN ][transport.netty ] [Amahl
Farouk] exception caught on transport layer [[id: 0x4796874d]], closing
connection
java.net.SocketException: Network is unreachable
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(
SocketChannelImpl.java:739)
at org.elasticsearch.common.netty.channel.socket.nio.
NioClientBoss.connect(NioClientBoss.java:150)
at org.elasticsearch.common.netty.channel.socket.nio.
NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at org.elasticsearch.common.netty.channel.socket.nio.
NioClientBoss.process(NioClientBoss.java:79)
at org.elasticsearch.common.netty.channel.socket.nio.
AbstractNioSelector.run(AbstractNioSelector.java:318)
at org.elasticsearch.common.netty.channel.socket.nio.
NioClientBoss.run(NioClientBoss.java:42)
at org.elasticsearch.common.netty.util.
ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.elasticsearch.common.netty.util.internal.
DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2014-07-21 03:01:13,660][INFO ][cluster.service ] [Amahl
Farouk] new_master [Amahl Farouk][6yAvrcqHSsqbyHe9EHRZ0w][
VMLTMADV02][inet[/192.168.11.190:9300]], reason: zen-disco-join
(elected_as_master)
[2014-07-21 03:01:13,688][INFO ][discovery ] [Amahl
Farouk] lastikman/6yAvrcqHSsqbyHe9EHRZ0w
[2014-07-21 03:01:13,748][INFO ][http ] [Amahl
Farouk] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/
192.168.11.190:9200]}
[2014-07-21 03:01:13,792][INFO ][gateway ] [Amahl
Farouk] recovered [0] indices into cluster_state
[2014-07-21 03:01:13,794][INFO ][node ] [Amahl
Farouk] started

On Thursday, July 17, 2014 3:45:45 PM UTC+8, vjbangis wrote:

Does anyone experience below

elasticsearch]$ tail -f /var/log/elasticsearch/lastikman.log
[2014-07-17 05:37:01,470][INFO ][node ] [Karma]
version[1.2.2], pid[12325], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-17 05:37:01,471][INFO ][node ] [Karma]
initializing ...
[2014-07-17 05:37:01,479][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • NullPointerException[null]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] version[1.2.2], pid[19368], build[9902f08/2014-07-09T12:02:32Z]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] initializing ...
    [2014-07-17 07:42:08,926][ERROR][bootstrap ] {1.2.2}:
    Initialization Failed ...
  • NullPointerException[null]

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/7a3c8c77-a9a9-4533-a0e9-1ced791179aa%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/7a3c8c77-a9a9-4533-a0e9-1ced791179aa%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEpJNA_ZyMteU58N5Y8MR%3DE%3D-P%2BPV4Emv%2ByxyJ0G7KBPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Phillip Ulberg) #7

Turned out to be an issue with the "http-basic" auth plugin I was using.

On Monday, July 21, 2014 2:02:02 PM UTC-5, Phillip Ulberg wrote:

Same issue here, I upgraded to ES 1.2.2, and jdk 1.7.0_60-b19, debug log
output -

[2014-07-21 18:50:05,054][INFO ][node ] [p-esmon01]
version[1.2.2], pid[23697], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-21 18:50:05,054][INFO ][node ] [p-esmon01]
initializing ...
[2014-07-21 18:50:05,056][DEBUG][node ] [p-esmon01]
using home [/usr/share/elasticsearch], config [/etc/elasticsearch], data
[[/etc/elasticsearch/data]], logs [/var/log/elasticsearch], work
[/etc/elasticsearch/work], plugins [/usr/share/elasticsearch/plugins]
[2014-07-21 18:50:05,064][DEBUG][plugins ] [p-esmon01]
lucene property is not set in plugin es-plugin.properties file. Skipping
test.
[2014-07-21 18:50:05,074][DEBUG][plugins ] [p-esmon01]
skipping
[jar:file:/usr/share/elasticsearch/plugins/marvel/marvel-1.2.1.jar!/es-plugin.properties]
[2014-07-21 18:50:05,075][DEBUG][plugins ] [p-esmon01]
lucene property is not set in plugin es-plugin.properties file. Skipping
test.
[2014-07-21 18:50:05,075][DEBUG][plugins ] [p-esmon01]
[/usr/share/elasticsearch/plugins/http-basic-server-plugin/_site] directory
does not exist.
[2014-07-21 18:50:05,077][DEBUG][plugins ] [p-esmon01]
[/usr/share/elasticsearch/plugins/http-basic/_site] directory does not
exist.
[2014-07-21 18:50:05,078][INFO ][plugins ] [p-esmon01]
loaded [marvel, http-basic-server-plugin], sites [marvel, head]
[2014-07-21 18:50:05,104][DEBUG][common.compress.lzf ] using
[UnsafeChunkDecoder] decoder
[2014-07-21 18:50:05,113][DEBUG][env ] [p-esmon01]
using node location [[/etc/elasticsearch/data/p_es_clust_mon01/nodes/0]],
local_node_id [0]
[2014-07-21 18:50:05,907][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • ExecutionError[java.lang.NoClassDefFoundError:
    org/elasticsearch/rest/StringRestResponse]
    NoClassDefFoundError[org/elasticsearch/rest/StringRestResponse]

ClassNotFoundException[org.elasticsearch.rest.StringRestResponse]
org.elasticsearch.common.util.concurrent.ExecutionError:
java.lang.NoClassDefFoundError: org/elasticsearch/rest/StringRestResponse
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3934)
at
org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
at
org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
at
org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at
org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
at
org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
at
org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:148)
at
org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:204)
at
org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at
org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:188)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.NoClassDefFoundError:
org/elasticsearch/rest/StringRestResponse
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getDeclaredConstructors(Class.java:1901)
at
org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:177)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at
org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at
org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at
org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
at
org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
... 19 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.rest.StringRestResponse
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 32 more

[2014-07-21 18:50:05,908][DEBUG][bootstrap ] Exception
org.elasticsearch.common.util.concurrent.ExecutionError:
java.lang.NoClassDefFoundError: org/elasticsearch/rest/StringRestResponse
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3934)
at
org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
at
org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
at
org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at
org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
at
org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
at
org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:148)
at
org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:204)
at
org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at
org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at
org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:188)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.NoClassDefFoundError:
org/elasticsearch/rest/StringRestResponse
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getDeclaredConstructors(Class.java:1901)
at
org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:177)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
at
org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at
org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at
org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at
org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at
org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
at
org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
... 19 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.rest.StringRestResponse
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 32 more

On Sunday, July 20, 2014 10:18:02 PM UTC-5, vjbangis wrote:

$ elasticsearch-1.2.2/bin/elasticsearch -f
getopt: invalid option -- 'f'

[2014-07-21 03:00:55,718][INFO ][node ] [Amahl
Farouk] version[1.2.2], pid[1462], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-21 03:00:55,720][INFO ][node ] [Amahl
Farouk] initializing ...
[2014-07-21 03:00:56,083][INFO ][plugins ] [Amahl
Farouk] loaded [cloud-aws], sites []
[2014-07-21 03:01:03,959][INFO ][node ] [Amahl
Farouk] initialized
[2014-07-21 03:01:03,960][INFO ][node ] [Amahl
Farouk] starting ...
[2014-07-21 03:01:04,208][INFO ][transport ] [Amahl
Farouk] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/
192.168.11.190:9300]}
[2014-07-21 03:01:07,272][WARN ][transport.netty ] [Amahl
Farouk] exception caught on transport layer [[id: 0x4796874d]], closing
connection
java.net.SocketException: Network is unreachable
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2014-07-21 03:01:13,660][INFO ][cluster.service ] [Amahl
Farouk] new_master [Amahl
Farouk][6yAvrcqHSsqbyHe9EHRZ0w][VMLTMADV02][inet[/192.168.11.190:9300]],
reason: zen-disco-join (elected_as_master)
[2014-07-21 03:01:13,688][INFO ][discovery ] [Amahl
Farouk] lastikman/6yAvrcqHSsqbyHe9EHRZ0w
[2014-07-21 03:01:13,748][INFO ][http ] [Amahl
Farouk] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/
192.168.11.190:9200]}
[2014-07-21 03:01:13,792][INFO ][gateway ] [Amahl
Farouk] recovered [0] indices into cluster_state
[2014-07-21 03:01:13,794][INFO ][node ] [Amahl
Farouk] started

On Thursday, July 17, 2014 3:45:45 PM UTC+8, vjbangis wrote:

Does anyone experience below

elasticsearch]$ tail -f /var/log/elasticsearch/lastikman.log
[2014-07-17 05:37:01,470][INFO ][node ] [Karma]
version[1.2.2], pid[12325], build[9902f08/2014-07-09T12:02:32Z]
[2014-07-17 05:37:01,471][INFO ][node ] [Karma]
initializing ...
[2014-07-17 05:37:01,479][ERROR][bootstrap ] {1.2.2}:
Initialization Failed ...

  • NullPointerException[null]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] version[1.2.2], pid[19368], build[9902f08/2014-07-09T12:02:32Z]
    [2014-07-17 07:42:08,916][INFO ][node ] [Valerie
    Cooper] initializing ...
    [2014-07-17 07:42:08,926][ERROR][bootstrap ] {1.2.2}:
    Initialization Failed ...
  • NullPointerException[null]

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dd5a8154-bccd-4117-ac53-4fcda7d601da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(vjbangis) #8

I got error below when execute as "service elasticsearch start" on Amazon
Linux EC2.

[2014-07-22 09:21:57,405][DEBUG][bootstrap ] Exception
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at
org.elasticsearch.plugins.PluginsService.(PluginsService.java:122)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:144)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

But when I tried to start using extracted tar file of elasticsearch, I was
able to start but unable to join in the cluster the second node? still
under Amazon Linux EC2. any idea why? could it be the availability_zone.

NODE1
[2014-07-22
09:55:39,950][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection [id: 0][route: {}->http://ec2.ap-southea
st-1.amazonaws.com] can be kept alive indefinitely
[2014-07-22
09:55:39,950][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection released: [id: 0][route: {}->http://ec2.
ap-southeast-1.amazonaws.com][total kept alive: 1; route allocated: 1 of
50; total allocated: 1 of 50]
[2014-07-22 09:55:39,951][DEBUG][discovery.ec2 ] [Kierrok] using
dynamic discovery nodes []
[2014-07-22 09:55:39,952][DEBUG][discovery.ec2 ] [Kierrok]
filtered ping responses: (filter_client[true], filter_data[false]) {none
}
[2014-07-22 09:55:39,958][DEBUG][cluster.service ] [Kierrok]
processing [zen-disco-join (elected_as_master)]: execute
[2014-07-22 09:55:39,960][DEBUG][cluster.service ] [Kierrok]
cluster state updated, version [1], source [zen-disco-join (elected_as_m
aster)]
[2014-07-22 09:55:39,961][INFO ][cluster.service ] [Kierrok]
new_master [Kierrok][8tD1Jpm-TsWSLSfpaN1n-g][VMLTMADV02][inet[/192.168.1
1.190:9300]], reason: zen-disco-join (elected_as_master)
[2014-07-22 09:55:40,006][DEBUG][transport.netty ] [Kierrok]
connected to node [[Kierrok][8tD1Jpm-TsWSLSfpaN1n-g][VMLTMADV02][inet[/1
92.168.11.190:9300]]]
[2014-07-22 09:55:40,008][DEBUG][cluster.service ] [Kierrok]
publishing cluster state version 1
[2014-07-22 09:55:40,008][DEBUG][cluster.service ] [Kierrok] set
local cluster state to version 1
[2014-07-22 09:55:40,012][DEBUG][river.cluster ] [Kierrok]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 09:55:40,012][DEBUG][river.cluster ] [Kierrok]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 09:55:40,012][DEBUG][cluster.service ] [Kierrok]
processing [zen-disco-join (elected_as_master)]: done applying updated c
luster_state (version: 1)
[2014-07-22 09:55:40,012][INFO ][discovery ] [Kierrok]
lastikman/8tD1Jpm-TsWSLSfpaN1n-g
[2014-07-22 09:55:40,029][DEBUG][cluster.service ] [Kierrok]
processing [local-gateway-elected-state]: execute
[2014-07-22 09:55:40,039][DEBUG][cluster.service ] [Kierrok]
cluster state updated, version [2], source [local-gateway-elected-state]
[2014-07-22 09:55:40,046][DEBUG][cluster.service ] [Kierrok]
publishing cluster state version 2
[2014-07-22 09:55:40,047][DEBUG][cluster.service ] [Kierrok] set
local cluster state to version 2
[2014-07-22 09:55:40,046][INFO ][http ] [Kierrok]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.
168.11.190:9200]}
[2014-07-22 09:55:40,055][DEBUG][river.cluster ] [Kierrok]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 09:55:40,056][DEBUG][river.cluster ] [Kierrok]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 09:55:40,080][INFO ][gateway ] [Kierrok]
recovered [0] indices into cluster_state
[2014-07-22 09:55:40,080][DEBUG][cluster.service ] [Kierrok]
processing [local-gateway-elected-state]: done applying updated cluster_
state (version: 2)
[2014-07-22 09:55:40,080][DEBUG][cluster.service ] [Kierrok]
processing [updating local node id]: execute
[2014-07-22 09:55:40,081][DEBUG][cluster.service ] [Kierrok]
cluster state updated, version [3], source [updating local node id]
[2014-07-22 09:55:40,081][DEBUG][cluster.service ] [Kierrok]
publishing cluster state version 3
[2014-07-22 09:55:40,081][DEBUG][cluster.service ] [Kierrok] set
local cluster state to version 3
[2014-07-22 09:55:40,081][DEBUG][river.cluster ] [Kierrok]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 09:55:40,081][DEBUG][river.cluster ] [Kierrok]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 09:55:40,082][INFO ][node ] [Kierrok]
started
[2014-07-22 09:55:40,083][DEBUG][cluster.service ] [Kierrok]
processing [updating local node id]: done applying updated cluster_state
(version: 3)
[2014-07-22 09:55:50,010][DEBUG][cluster.service ] [Kierrok]
processing [routing-table-updater]: execute
[2014-07-22 09:55:50,010][DEBUG][cluster.service ] [Kierrok]
processing [routing-table-updater]: no change in cluster_state
[2014-07-22
09:56:21,093][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Closing connections idle longer than 60 SECONDS
[2014-07-22
09:57:21,094][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Closing connections idle longer than 60 SECONDS

NODE2
[2014-07-22
09:56:40,346][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection [id: 0][route: {}->http://ec2.ap-south
east-1.amazonaws.com] can be kept alive indefinitely
[2014-07-22
09:56:40,346][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection released: [id: 0][route: {}->http://ec
2.ap-southeast-1.amazonaws.com][total kept alive: 1; route allocated: 1 of
50; total allocated: 1 of 50]
[2014-07-22 09:56:40,347][DEBUG][discovery.ec2 ] [Hellrazor]
using dynamic discovery nodes []
[2014-07-22 09:56:40,348][DEBUG][discovery.ec2 ] [Hellrazor]
filtered ping responses: (filter_client[true], filter_data[false]) {
none}
[2014-07-22 09:56:40,349][DEBUG][cluster.service ] [Hellrazor]
processing [zen-disco-join (elected_as_master)]: execute
[2014-07-22 09:56:40,350][DEBUG][cluster.service ] [Hellrazor]
cluster state updated, version [1], source [zen-disco-join (elected_
as_master)]
[2014-07-22 09:56:40,350][INFO ][cluster.service ] [Hellrazor]
new_master [Hellrazor][1QqmDij2S9uLBP1XZtfWqw][VMLTMADV03][inet[/192
.168.11.69:9300]], reason: zen-disco-join (elected_as_master)
[2014-07-22 09:56:40,350][DEBUG][cluster.service ] [Hellrazor]
publishing cluster state version 1
[2014-07-22 09:56:40,352][DEBUG][cluster.service ] [Hellrazor] set
local cluster state to version 1
[2014-07-22 09:56:40,355][DEBUG][river.cluster ] [Hellrazor]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 09:56:40,355][DEBUG][river.cluster ] [Hellrazor]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 09:56:40,359][DEBUG][cluster.service ] [Hellrazor]
processing [zen-disco-join (elected_as_master)]: done applying updat
ed cluster_state (version: 1)
[2014-07-22 09:56:40,372][DEBUG][cluster.service ] [Hellrazor]
processing [local-gateway-elected-state]: execute
[2014-07-22 09:56:40,382][DEBUG][cluster.service ] [Hellrazor]
cluster state updated, version [2], source [local-gateway-elected-st
ate]
[2014-07-22 09:56:40,382][DEBUG][cluster.service ] [Hellrazor]
publishing cluster state version 2
[2014-07-22 09:56:40,382][DEBUG][cluster.service ] [Hellrazor] set
local cluster state to version 2
[2014-07-22 09:56:40,389][DEBUG][river.cluster ] [Hellrazor]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 09:56:40,389][DEBUG][river.cluster ] [Hellrazor]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 09:56:40,405][INFO ][gateway ] [Hellrazor]
recovered [0] indices into cluster_state
[2014-07-22 09:56:40,405][DEBUG][cluster.service ] [Hellrazor]
processing [local-gateway-elected-state]: done applying updated clus
ter_state (version: 2)
[2014-07-22 09:56:50,354][DEBUG][cluster.service ] [Hellrazor]
processing [routing-table-updater]: execute
[2014-07-22 09:56:50,354][DEBUG][cluster.service ] [Hellrazor]
processing [routing-table-updater]: no change in cluster_state
[2014-07-22
09:57:06,273][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Closing connections idle longer than 60 SECONDS
[2014-07-22
09:58:06,273][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Closing connections idle longer than 60 SECONDS
[2014-07-22
09:58:06,274][DEBUG][org.apache.http.impl.conn.DefaultClientConnection]
Connection 0.0.0.0:45272<->203.83.221.71:80 closed

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d46a8e7f-d76c-4a35-98bd-f7ad957f70f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #9

Check if your Elasticsearch user has correct read/write permission on the
"plugins" folder.

Jörg

On Tue, Jul 22, 2014 at 11:59 AM, vjbangis jessviray0708@gmail.com wrote:

I got error below when execute as "service elasticsearch start" on Amazon
Linux EC2.

[2014-07-22 09:21:57,405][DEBUG][bootstrap ] Exception
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at
org.elasticsearch.plugins.PluginsService.(PluginsService.java:122)
at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:144)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)
at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHLocy0BpocGz2eeg4QjxU%3D%2BD%3DX%2B745W%2Baq4d722AbTQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(vjbangis) #10

[root@V02 share]# cd elasticsearch/
[root@V02 elasticsearch]# ls -lrth
total 40K
-rw-r--r-- 1 root root 8.3K Jul 9 12:09 README.textile
-rw-r--r-- 1 root root 150 Jul 9 12:09 NOTICE.txt
-rw-r--r-- 1 root root 12K Jul 9 12:09 LICENSE.txt
drwxr-xr-x 2 root root 4.0K Jul 22 11:22 bin
drwxr-xr-x 3 root root 4.0K Jul 22 11:22 lib
drwx------ 3 root root 4.0K Jul 22 11:26 plugins
[root@V02 elasticsearch]# cd plugins/
[root@V02 plugins]# ls -lrth
total 4.0K
drwx------ 2 root root 4.0K Jul 22 11:26 cloud-aws
[root@V02 plugins]#

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/12ab4910-ae30-4342-99c3-7d9048691572%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #11

First, never run Elasticearch under super user privileges, nor unpack
Elasticsearch with file owner root.

Second, as you notice, the "plugins" folder has wrong permissions.

Jörg

On Tue, Jul 22, 2014 at 1:31 PM, vjbangis jessviray0708@gmail.com wrote:

[root@V02 share]# cd elasticsearch/
[root@V02 elasticsearch]# ls -lrth
total 40K
-rw-r--r-- 1 root root 8.3K Jul 9 12:09 README.textile
-rw-r--r-- 1 root root 150 Jul 9 12:09 NOTICE.txt
-rw-r--r-- 1 root root 12K Jul 9 12:09 LICENSE.txt
drwxr-xr-x 2 root root 4.0K Jul 22 11:22 bin
drwxr-xr-x 3 root root 4.0K Jul 22 11:22 lib
drwx------ 3 root root 4.0K Jul 22 11:26 plugins
[root@V02 elasticsearch]# cd plugins/
[root@V02 plugins]# ls -lrth
total 4.0K
drwx------ 2 root root 4.0K Jul 22 11:26 cloud-aws
[root@V02 plugins]#

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/12ab4910-ae30-4342-99c3-7d9048691572%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/12ab4910-ae30-4342-99c3-7d9048691572%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGEEGgnBexCfoMntsUX8aMBwy3qkCUg9ho%2B-ewWV1n5mQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(vjbangis) #12

@Jörg
Great! It is now running! Thank you so much for the help and time :slight_smile:

But the second node can't added on the cluster.

NODE1
[2014-07-22
12:07:23,205][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection [id: 0][route: {}->http://ec2.ap-southeast-1.amazonaws.com] can
be kept alive indefinitely
[2014-07-22
12:07:23,206][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection released: [id: 0][route:
{}->http://ec2.ap-southeast-1.amazonaws.com][total kept alive: 1; route
allocated: 1 of 50; total allocated: 1 of 50]
[2014-07-22 12:07:23,206][DEBUG][discovery.ec2 ] [Quasimodo]
using dynamic discovery nodes []
[2014-07-22 12:07:23,208][DEBUG][discovery.ec2 ] [Quasimodo]
filtered ping responses: (filter_client[true], filter_data[false]) {none}
[2014-07-22 12:07:23,213][DEBUG][cluster.service ] [Quasimodo]
processing [zen-disco-join (elected_as_master)]: execute
[2014-07-22 12:07:23,215][DEBUG][cluster.service ] [Quasimodo]
cluster state updated, version [1], source [zen-disco-join
(elected_as_master)]
[2014-07-22 12:07:23,216][INFO ][cluster.service ] [Quasimodo]
new_master
[Quasimodo][Q7bgJuo1Se6PbesIfqsByA][DV02][inet[/192.168.11.190:9300]],
reason: zen-disco-join (elected_as_master)
[2014-07-22 12:07:23,264][DEBUG][transport.netty ] [Quasimodo]
connected to node
[[Quasimodo][Q7bgJuo1Se6PbesIfqsByA][DV02][inet[/192.168.11.190:9300]]]
[2014-07-22 12:07:23,265][DEBUG][cluster.service ] [Quasimodo]
publishing cluster state version 1
[2014-07-22 12:07:23,265][DEBUG][cluster.service ] [Quasimodo] set
local cluster state to version 1
[2014-07-22 12:07:23,269][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:07:23,269][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 12:07:23,269][DEBUG][cluster.service ] [Quasimodo]
processing [zen-disco-join (elected_as_master)]: done applying updated
cluster_state (version: 1)
[2014-07-22 12:07:23,269][INFO ][discovery ] [Quasimodo]
lastikman/Q7bgJuo1Se6PbesIfqsByA
[2014-07-22 12:07:23,288][DEBUG][cluster.service ] [Quasimodo]
processing [local-gateway-elected-state]: execute
[2014-07-22 12:07:23,300][DEBUG][cluster.service ] [Quasimodo]
cluster state updated, version [2], source [local-gateway-elected-state]
[2014-07-22 12:07:23,301][DEBUG][cluster.service ] [Quasimodo]
publishing cluster state version 2
[2014-07-22 12:07:23,302][DEBUG][cluster.service ] [Quasimodo] set
local cluster state to version 2
[2014-07-22 12:07:23,309][INFO ][http ] [Quasimodo]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/192.168.11.190:9200]}
[2014-07-22 12:07:23,317][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:07:23,317][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 12:07:23,364][INFO ][gateway ] [Quasimodo]
recovered [0] indices into cluster_state
[2014-07-22 12:07:23,364][DEBUG][cluster.service ] [Quasimodo]
processing [local-gateway-elected-state]: done applying updated
cluster_state (version: 2)
[2014-07-22 12:07:23,364][DEBUG][cluster.service ] [Quasimodo]
processing [updating local node id]: execute
[2014-07-22 12:07:23,365][DEBUG][cluster.service ] [Quasimodo]
cluster state updated, version [3], source [updating local node id]
[2014-07-22 12:07:23,365][DEBUG][cluster.service ] [Quasimodo]
publishing cluster state version 3
[2014-07-22 12:07:23,365][DEBUG][cluster.service ] [Quasimodo] set
local cluster state to version 3
[2014-07-22 12:07:23,365][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:07:23,365][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 12:07:23,365][INFO ][node ] [Quasimodo]
started
[2014-07-22 12:07:23,366][DEBUG][cluster.service ] [Quasimodo]
processing [updating local node id]: done applying updated cluster_state
(version: 3)
[2014-07-22 12:07:33,267][DEBUG][cluster.service ] [Quasimodo]
processing [routing-table-updater]: execute
[2014-07-22 12:07:33,267][DEBUG][cluster.service ] [Quasimodo]
processing [routing-table-updater]: no change in cluster_state

NODE2
[2014-07-22
12:15:42,263][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection [id: 0][route: {}->http://ec2.ap-southeast-1.amazonaws.com] can
be kept alive indefinitely
[2014-07-22
12:15:42,263][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection released: [id: 0][route:
{}->http://ec2.ap-southeast-1.amazonaws.com][total kept alive: 1; route
allocated: 1 of 50; total allocated: 1 of 50]
[2014-07-22 12:15:42,264][DEBUG][discovery.ec2 ] [Virginia
"Pepper" Potts] using dynamic discovery nodes []
[2014-07-22 12:15:42,265][DEBUG][discovery.ec2 ] [Virginia
"Pepper" Potts] filtered ping responses: (filter_client[true],
filter_data[false]) {none}
[2014-07-22 12:15:42,271][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [zen-disco-join (elected_as_master)]: execute
[2014-07-22 12:15:42,273][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] cluster state updated, version [1], source [zen-disco-join
(elected_as_master)]
[2014-07-22 12:15:42,274][INFO ][cluster.service ] [Virginia
"Pepper" Potts] new_master [Virginia "Pepper"
Potts][hPGjvjIyScyJx4viSd-loA][DV03][inet[/192.168.11.69:9300]], reason:
zen-disco-join (elected_as_master)
[2014-07-22 12:15:42,319][DEBUG][transport.netty ] [Virginia
"Pepper" Potts] connected to node [[Virginia "Pepper"
Potts][hPGjvjIyScyJx4viSd-loA][DV03][inet[/192.168.11.69:9300]]]
[2014-07-22 12:15:42,320][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] publishing cluster state version 1
[2014-07-22 12:15:42,321][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] set local cluster state to version 1
[2014-07-22 12:15:42,324][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:15:42,324][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: no change in
cluster_state
[2014-07-22 12:15:42,325][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [zen-disco-join (elected_as_master)]: done
applying updated cluster_state (version: 1)
[2014-07-22 12:15:42,325][INFO ][discovery ] [Virginia
"Pepper" Potts] lastikman/hPGjvjIyScyJx4viSd-loA
[2014-07-22 12:15:42,342][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [local-gateway-elected-state]: execute
[2014-07-22 12:15:42,357][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] cluster state updated, version [2], source
[local-gateway-elected-state]
[2014-07-22 12:15:42,357][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] publishing cluster state version 2
[2014-07-22 12:15:42,359][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] set local cluster state to version 2
[2014-07-22 12:15:42,364][INFO ][http ] [Virginia
"Pepper" Potts] bound_address {inet[/0:0:0:0:0:0:0:0:9200]},
publish_address {inet[/192.168.11.69:9200]}
[2014-07-22 12:15:42,368][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:15:42,368][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: no change in
cluster_state
[2014-07-22 12:15:42,396][INFO ][gateway ] [Virginia
"Pepper" Potts] recovered [0] indices into cluster_state
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [local-gateway-elected-state]: done applying
updated cluster_state (version: 2)
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [updating local node id]: execute
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] cluster state updated, version [3], source [updating local
node id]
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] publishing cluster state version 3
[2014-07-22 12:15:42,397][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] set local cluster state to version 3
[2014-07-22 12:15:42,397][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:15:42,397][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: no change in
cluster_state
[2014-07-22 12:15:42,397][INFO ][node ] [Virginia
"Pepper" Potts] started
[2014-07-22 12:15:42,398][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [updating local node id]: done applying updated
cluster_state (version: 3)
[2014-07-22 12:15:52,323][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [routing-table-updater]: execute
[2014-07-22 12:15:52,323][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [routing-table-updater]: no change in
cluster_state
[2014-07-22
12:16:30,661][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Closing connections idle longer than 60 SECONDS

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5477365c-2285-4d60-bb0d-f1e36d4d8dc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #13

Your system is Amazon AWS, so check this mailing list for setting up
unicast discovery, and disable multicast discovery which is enabled by
default.

If this is not what you want, check AWS cloud plugin for EC2 discovery

Jörg

On Tue, Jul 22, 2014 at 2:22 PM, vjbangis jessviray0708@gmail.com wrote:

@Jörg
Great! It is now running! Thank you so much for the help and time :slight_smile:

But the second node can't added on the cluster.

NODE1
[2014-07-22
12:07:23,205][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection [id: 0][route: {}->http://ec2.ap-southeast-1.amazonaws.com]
can be kept alive indefinitely
[2014-07-22
12:07:23,206][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection released: [id: 0][route: {}->
http://ec2.ap-southeast-1.amazonaws.com][total kept alive: 1; route
allocated: 1 of 50; total allocated: 1 of 50]
[2014-07-22 12:07:23,206][DEBUG][discovery.ec2 ] [Quasimodo]
using dynamic discovery nodes []
[2014-07-22 12:07:23,208][DEBUG][discovery.ec2 ] [Quasimodo]
filtered ping responses: (filter_client[true], filter_data[false]) {none}
[2014-07-22 12:07:23,213][DEBUG][cluster.service ] [Quasimodo]
processing [zen-disco-join (elected_as_master)]: execute
[2014-07-22 12:07:23,215][DEBUG][cluster.service ] [Quasimodo]
cluster state updated, version [1], source [zen-disco-join
(elected_as_master)]
[2014-07-22 12:07:23,216][INFO ][cluster.service ] [Quasimodo]
new_master
[Quasimodo][Q7bgJuo1Se6PbesIfqsByA][DV02][inet[/192.168.11.190:9300]],
reason: zen-disco-join (elected_as_master)
[2014-07-22 12:07:23,264][DEBUG][transport.netty ] [Quasimodo]
connected to node
[[Quasimodo][Q7bgJuo1Se6PbesIfqsByA][DV02][inet[/192.168.11.190:9300]]]
[2014-07-22 12:07:23,265][DEBUG][cluster.service ] [Quasimodo]
publishing cluster state version 1
[2014-07-22 12:07:23,265][DEBUG][cluster.service ] [Quasimodo]
set local cluster state to version 1
[2014-07-22 12:07:23,269][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:07:23,269][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 12:07:23,269][DEBUG][cluster.service ] [Quasimodo]
processing [zen-disco-join (elected_as_master)]: done applying updated
cluster_state (version: 1)
[2014-07-22 12:07:23,269][INFO ][discovery ] [Quasimodo]
lastikman/Q7bgJuo1Se6PbesIfqsByA
[2014-07-22 12:07:23,288][DEBUG][cluster.service ] [Quasimodo]
processing [local-gateway-elected-state]: execute
[2014-07-22 12:07:23,300][DEBUG][cluster.service ] [Quasimodo]
cluster state updated, version [2], source [local-gateway-elected-state]
[2014-07-22 12:07:23,301][DEBUG][cluster.service ] [Quasimodo]
publishing cluster state version 2
[2014-07-22 12:07:23,302][DEBUG][cluster.service ] [Quasimodo]
set local cluster state to version 2
[2014-07-22 12:07:23,309][INFO ][http ] [Quasimodo]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/
192.168.11.190:9200]}
[2014-07-22 12:07:23,317][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:07:23,317][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 12:07:23,364][INFO ][gateway ] [Quasimodo]
recovered [0] indices into cluster_state
[2014-07-22 12:07:23,364][DEBUG][cluster.service ] [Quasimodo]
processing [local-gateway-elected-state]: done applying updated
cluster_state (version: 2)
[2014-07-22 12:07:23,364][DEBUG][cluster.service ] [Quasimodo]
processing [updating local node id]: execute
[2014-07-22 12:07:23,365][DEBUG][cluster.service ] [Quasimodo]
cluster state updated, version [3], source [updating local node id]
[2014-07-22 12:07:23,365][DEBUG][cluster.service ] [Quasimodo]
publishing cluster state version 3
[2014-07-22 12:07:23,365][DEBUG][cluster.service ] [Quasimodo]
set local cluster state to version 3
[2014-07-22 12:07:23,365][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:07:23,365][DEBUG][river.cluster ] [Quasimodo]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-22 12:07:23,365][INFO ][node ] [Quasimodo]
started
[2014-07-22 12:07:23,366][DEBUG][cluster.service ] [Quasimodo]
processing [updating local node id]: done applying updated cluster_state
(version: 3)
[2014-07-22 12:07:33,267][DEBUG][cluster.service ] [Quasimodo]
processing [routing-table-updater]: execute
[2014-07-22 12:07:33,267][DEBUG][cluster.service ] [Quasimodo]
processing [routing-table-updater]: no change in cluster_state

NODE2
[2014-07-22
12:15:42,263][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection [id: 0][route: {}->http://ec2.ap-southeast-1.amazonaws.com]
can be kept alive indefinitely
[2014-07-22
12:15:42,263][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Connection released: [id: 0][route: {}->
http://ec2.ap-southeast-1.amazonaws.com][total kept alive: 1; route
allocated: 1 of 50; total allocated: 1 of 50]
[2014-07-22 12:15:42,264][DEBUG][discovery.ec2 ] [Virginia
"Pepper" Potts] using dynamic discovery nodes []
[2014-07-22 12:15:42,265][DEBUG][discovery.ec2 ] [Virginia
"Pepper" Potts] filtered ping responses: (filter_client[true],
filter_data[false]) {none}
[2014-07-22 12:15:42,271][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [zen-disco-join (elected_as_master)]: execute
[2014-07-22 12:15:42,273][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] cluster state updated, version [1], source [zen-disco-join
(elected_as_master)]
[2014-07-22 12:15:42,274][INFO ][cluster.service ] [Virginia
"Pepper" Potts] new_master [Virginia "Pepper"
Potts][hPGjvjIyScyJx4viSd-loA][DV03][inet[/192.168.11.69:9300]], reason:
zen-disco-join (elected_as_master)
[2014-07-22 12:15:42,319][DEBUG][transport.netty ] [Virginia
"Pepper" Potts] connected to node [[Virginia "Pepper"
Potts][hPGjvjIyScyJx4viSd-loA][DV03][inet[/192.168.11.69:9300]]]
[2014-07-22 12:15:42,320][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] publishing cluster state version 1
[2014-07-22 12:15:42,321][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] set local cluster state to version 1
[2014-07-22 12:15:42,324][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:15:42,324][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: no change in
cluster_state
[2014-07-22 12:15:42,325][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [zen-disco-join (elected_as_master)]: done
applying updated cluster_state (version: 1)
[2014-07-22 12:15:42,325][INFO ][discovery ] [Virginia
"Pepper" Potts] lastikman/hPGjvjIyScyJx4viSd-loA
[2014-07-22 12:15:42,342][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [local-gateway-elected-state]: execute
[2014-07-22 12:15:42,357][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] cluster state updated, version [2], source
[local-gateway-elected-state]
[2014-07-22 12:15:42,357][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] publishing cluster state version 2
[2014-07-22 12:15:42,359][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] set local cluster state to version 2
[2014-07-22 12:15:42,364][INFO ][http ] [Virginia
"Pepper" Potts] bound_address {inet[/0:0:0:0:0:0:0:0:9200]},
publish_address {inet[/192.168.11.69:9200]}
[2014-07-22 12:15:42,368][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:15:42,368][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: no change in
cluster_state
[2014-07-22 12:15:42,396][INFO ][gateway ] [Virginia
"Pepper" Potts] recovered [0] indices into cluster_state
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [local-gateway-elected-state]: done applying
updated cluster_state (version: 2)
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [updating local node id]: execute
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] cluster state updated, version [3], source [updating local
node id]
[2014-07-22 12:15:42,396][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] publishing cluster state version 3
[2014-07-22 12:15:42,397][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] set local cluster state to version 3
[2014-07-22 12:15:42,397][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: execute
[2014-07-22 12:15:42,397][DEBUG][river.cluster ] [Virginia
"Pepper" Potts] processing [reroute_rivers_node_changed]: no change in
cluster_state
[2014-07-22 12:15:42,397][INFO ][node ] [Virginia
"Pepper" Potts] started
[2014-07-22 12:15:42,398][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [updating local node id]: done applying updated
cluster_state (version: 3)
[2014-07-22 12:15:52,323][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [routing-table-updater]: execute
[2014-07-22 12:15:52,323][DEBUG][cluster.service ] [Virginia
"Pepper" Potts] processing [routing-table-updater]: no change in
cluster_state
[2014-07-22
12:16:30,661][DEBUG][org.apache.http.impl.conn.PoolingClientConnectionManager]
Closing connections idle longer than 60 SECONDS

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5477365c-2285-4d60-bb0d-f1e36d4d8dc7%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/5477365c-2285-4d60-bb0d-f1e36d4d8dc7%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGAjyRQz77v3g8jumX8sO8vw%3DaeHwJoMSpb5a%3DZP9XBCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(vjbangis) #14

I tried EC2 discovery with the following settings, still keeps
"elected_as_master" with the other node.

discovery.type: ec2
discovery.ec2.groups: "security groups"
discovery.ec2.host_type: private_ip
cloud.aws.region: "ap-southeast-1"
cloud.aws.access_key: [access key]
cloud.aws.secret_key: [security key]
cloud.node.auto_attributes: true
#discovery.zen.minimum_master_nodes: 2
discovery.zen.ping.multicast.enabled: false

Security groups:

  1. Allow inbound Source IP "any" to port 9200.
  2. Allow inbound Source IP "any" to port 9300.
  3. Allow inbound All Traffic within subnet.

it says from this link
https://github.com/elasticsearch/elasticsearch-cloud-aws/issues/105As my
firewall was blocking the connections from the private IPs, the ec2
discovery was not working.
so I "Allow inbound All Traffic within subnet" in security groups.

NODE1
[2014-07-23 11:33:34,862][DEBUG][discovery.ec2 ] [Tobirama]
using dynamic discovery nodes []
[2014-07-23 11:33:34,863][DEBUG][discovery.ec2 ] [Tobirama]
filtered ping responses: (filter_client[true], filter_data[false]) {none}
[2014-07-23 11:33:34,869][DEBUG][cluster.service ] [Tobirama]
processing [zen-disco-join (elected_as_master)]: execute
[2014-07-23 11:33:34,871][DEBUG][cluster.service ] [Tobirama]
cluster state updated, version [1], source [zen-disco-join
(elected_as_master)]
[2014-07-23 11:33:34,872][INFO ][cluster.service ] [Tobirama]
new_master
[Tobirama][cl1_rxmUTAmNtc1RfS2D4A][DV02][inet[/192.168.11.190:9300]],
reason: zen-disco-join (elected_as_master)
[2014-07-23 11:33:34,917][DEBUG][transport.netty ] [Tobirama]
connected to node
[[Tobirama][cl1_rxmUTAmNtc1RfS2D4A][DV02][inet[/192.168.11.190:9300]]]

NODE2
[2014-07-23 11:42:16,132][DEBUG][discovery.ec2 ] [Hiruzen] using
dynamic discovery nodes []
[2014-07-23 11:42:16,133][DEBUG][discovery.ec2 ] [Hiruzen]
filtered ping responses: (filter_client[true], filter_data[false]) {none}
[2014-07-23 11:42:16,248][DEBUG][cluster.service ] [Hiruzen]
processing [zen-disco-join (elected_as_master)]: execute
[2014-07-23 11:42:16,250][DEBUG][cluster.service ] [Hiruzen]
cluster state updated, version [1], source [zen-disco-join (
elected_as_master)]
[2014-07-23 11:42:16,251][INFO ][cluster.service ] [Hiruzen]
new_master
[Hiruzen][_A3cxw7mRyO-kdUbsue2lg][DV03][inet[/192.168.11.69:9300]], reason:
zen-disco-join (elected_as_master)
[2014-07-23 11:42:16,966][DEBUG][transport.netty ] [Hiruzen]
connected to node
[[Hiruzen][_A3cxw7mRyO-kdUbsue2lg][DV03][inet[/192.168.11.69:9300]]]
[2014-07-23 11:42:16,967][DEBUG][cluster.service ] [Hiruzen]
publishing cluster state version 1
[2014-07-23 11:42:16,968][DEBUG][cluster.service ] [Hiruzen] set
local cluster state to version 1
[2014-07-23 11:42:16,971][DEBUG][river.cluster ] [Hiruzen]
processing [reroute_rivers_node_changed]: execute
[2014-07-23 11:42:16,971][DEBUG][river.cluster ] [Hiruzen]
processing [reroute_rivers_node_changed]: no change in cluster_state
[2014-07-23 11:42:16,972][DEBUG][cluster.service ] [Hiruzen]
processing [zen-disco-join (elected_as_master)]: done applying updated
cluster_state (version: 1)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/189a1a41-abbe-4291-af1f-e2dc7d8b9ee3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(vjbangis) #15

Finally! the node can now added/remove to the cluster with only four lines

cluster.name: Cluster
node.name: "[node?]"
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["node?"]

May next question is, where can I dump the data sources (using S3 or EBS),
why?
Then, how the data sources can now access by ES?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8c4a15a8-f414-4890-a3a0-c5d460240bb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #16