# Problem forming cluster on EC2

**URL:** <https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652>\
**Category:** Elasticsearch\
**Created:** [December 10, 2010, 8:49pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652 "2010-12-10T20:49:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Cook](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@James\_Cook](https://discuss.elastic.co/u/James_Cook)\
**Post date:** [December 10, 2010, 8:49pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/1 "2010-12-10T20:49:54Z")

</div>

Using ES 0.11.1

I start two nodes up with different configurations in two separate VMs on  
EC2. The master is a data node and seems to start properly, with GREEN  
health. (There is no gateway specified at the moment.) However, the client  
node (client = true, data = false) cannot discover the master.

I've attached a log dump with the settings specified for each node. Please  
note that I use one file for dev and qa modes, so you may see http.port  
entry even though http.enabled is false.

Can anyone see my problem?

# Master

12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the  
ElasticSearch server node:  
12:42:20,593 INFO main node: 78 - [Sayge]  
{elasticsearch/0.13.1}[4229]: initializing ...  
12:42:20,614 INFO main plugins: 78 - [Sayge] loaded  
[cloud-aws]  
12:42:24,162 INFO main node: 78 - [Sayge]  
{elasticsearch/0.13.1}[4229]: initialized  
12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the  
ElasticSearch server node with these settings:  
12:42:24,163 INFO main ElasticSearchServer: 50 -  
cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
12:42:24,163 INFO main ElasticSearchServer: 50 -  
cloud.aws.secret\_key :   
12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name :  
roundtable-qa  
12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type :  
ec2  
12:42:24,165 INFO main ElasticSearchServer: 50 -  
gateway.s3.bucket : es-gateway-qa  
12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type :  
none  
12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled :  
false  
12:42:24,165 INFO main ElasticSearchServer: 50 - http.port : 9311  
12:42:24,168 INFO main ElasticSearchServer: 50 -  
index.store.fs.memory.direct : true  
12:42:24,169 INFO main ElasticSearchServer: 50 -  
index.store.memory.direct : true  
12:42:24,169 INFO main ElasticSearchServer: 50 -  
index.store.memory.warm\_cache : true  
12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.type  
: memory  
12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
12:42:24,169 INFO main ElasticSearchServer: 50 - network.host :  
_non\_loopback_  
12:42:24,170 INFO main ElasticSearchServer: 50 - node.client :  
false  
12:42:24,170 INFO main ElasticSearchServer: 50 - node.data : true  
12:42:24,170 INFO main ElasticSearchServer: 50 - node.local :  
false  
12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf :  
/usr/local/tomcat/webapps/ROOT//WEB-INF/config  
12:42:24,170 INFO main ElasticSearchServer: 50 - path.data :  
/var/opt/roundtable/data  
12:42:24,170 INFO main ElasticSearchServer: 50 -  
path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
12:42:24,171 INFO main ElasticSearchServer: 50 - path.home :  
/var/opt/roundtable  
12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs :  
/var/opt/roundtable/logs  
12:42:24,171 INFO main ElasticSearchServer: 50 - path.work :  
/var/opt/roundtable/work  
12:42:24,171 INFO main ElasticSearchServer: 50 -  
path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
12:42:24,171 INFO main ElasticSearchServer: 50 -  
transport.tcp.port : 9310  
12:42:24,172 INFO main node: 78 - [Sayge]  
{elasticsearch/0.13.1}[4229]: starting ...  
12:42:24,291 INFO main transport: 78 - [Sayge]  
bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/  
10.254.207.191:9310]}  
12:42:24,770 INFO thread-1 request: 166 - Sending Request:  
POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z,  
Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
12:42:24,956 INFO thread-1 request: 438 - Received successful  
response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
12:42:28,047 INFO thread-3 request: 166 - Sending Request:  
POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z,  
Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
12:42:28,135 INFO thread-3 request: 438 - Received successful  
response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master  
[Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false},  
reason: zen-disco-join (elected\_as\_master)  
12:42:28,172 INFO main discovery: 78 - [Sayge]  
roundtable-qa/RFbhogAAT120h5LtEkrvtA  
12:42:28,175 INFO main node: 78 - [Sayge]  
{elasticsearch/0.13.1}[4229]: started  
12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status is  
GREEN

# Client

12:42:33,571 INFO thread-1 node: 78 - [Richards, Jonathan]  
{elasticsearch/0.13.1}[4229]: initializing ...  
12:42:33,659 INFO thread-1 plugins: 78 - [Richards, Jonathan]  
loaded [cloud-aws]  
12:42:33,894 INFO thread-1 node: 78 - [Richards, Jonathan]  
{elasticsearch/0.13.1}[4229]: initialized  
12:42:33,895 INFO thread-1 node: 78 - [Richards, Jonathan]  
{elasticsearch/0.13.1}[4229]: starting ...  
12:42:33,898 INFO thread-1 transport: 78 - [Richards, Jonathan]  
bound\_address {inet[/10.254.207.191:9312]}, publish\_address {inet[/  
10.254.207.191:9312]}  
12:43:03,866 WARN thread-1 discovery: 86 - [Richards, Jonathan]  
waited for 30s and no initial state was set by the discovery  
12:43:03,867 INFO thread-1 discovery: 78 - [Richards, Jonathan]  
roundtable-qa/rzmrRlSgQtenioaG43SLkg  
12:43:03,868 INFO thread-1 node: 78 - [Richards, Jonathan]  
{elasticsearch/0.13.1}[4229]: started  
12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the  
Hazelcast -\> ElasticSearch client.  
12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name :  
roundtable-qa  
12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled :  
false  
12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.email\_regex.lowercase : true  
12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.email\_regex.pattern : [@.]  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.email\_regex.stopwords : _none_  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.email\_regex.type : pattern  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.email\_split.filter.0 : lowercase  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.email\_split.tokenizer : letter  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.email\_split.type : custom  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.lowercase\_keyword.type : custom  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.porter\_standard.filter.0 : standard  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.porter\_standard.filter.2 : stop  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.porter\_standard.tokenizer : standard  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
index.analysis.analyzer.porter\_standard.type : custom  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name : Richards,  
Jonathan  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host :  
_non\_loopback_  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client :  
true  
12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data :  
false  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local :  
false  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data :  
/var/opt/roundtable/data  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home :  
/var/opt/roundtable  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs :  
/var/opt/roundtable/logs  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work :  
/var/opt/roundtable/work  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
transport.tcp.port : 9312-9349  
12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index  
[content], type [571619d0d2c44e6ba4be54780db45229], value:  
{"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"

# الخارجية إستسلاماً مع

واشتدّت, ذلك تم بغزو إحتلال الحدود, ثم أما تصفح خصوصا  
اليابانية. دنو فقامت بوزيرها للأراضي إذ, حرب صفحة والجنود ما, ان الى حقول  
هجوم للصين. قد غينيا الشرقي العالم لكل, هو

","region":"Al  
Bahah","author":"James Cook","categories":[],"title":"Jabberwocky  
fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34  
PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc  
updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}

org.elasticsearch.discovery.MasterNotDiscoveredException:  
at  
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
at  
org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
at  
org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [December 11, 2010, 9:09pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/2 "2010-12-11T21:09:32Z")

</div>

Does the client also uses ec2 discovery?  
On Friday, December 10, 2010 at 10:49 PM, James Cook wrote:

> Using ES 0.11.1
> 
> I start two nodes up with different configurations in two separate VMs on EC2. The master is a data node and seems to start properly, with GREEN health. (There is no gateway specified at the moment.) However, the client node (client = true, data = false) cannot discover the master.
> 
> I've attached a log dump with the settings specified for each node. Please note that I use one file for dev and qa modes, so you may see http.port entry even though http.enabled is false.
> 
> Can anyone see my problem?
> 
> # Master
> 
> 12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the Elasticsearch server node:  
> 12:42:20,593 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:20,614 INFO main plugins: 78 - [Sayge] loaded [cloud-aws]  
> 12:42:24,162 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the Elasticsearch server node with these settings:  
> 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
> 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.secret\_key :   
> 12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name : roundtable-qa  
> 12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type : ec2  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.s3.bucket : es-gateway-qa  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type : none  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled : false  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.port : 9311  
> 12:42:24,168 INFO main ElasticSearchServer: 50 - index.store.fs.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.warm\_cache : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.type : memory  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - network.host : _non\_loopback_  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.client : false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.data : true  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.local : false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf : /usr/local/tomcat/webapps/ROOT//WEB-INF/config  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data : /var/opt/roundtable/data  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.home : /var/opt/roundtable  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs : /var/opt/roundtable/logs  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work : /var/opt/roundtable/work  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - transport.tcp.port : 9310  
> 12:42:24,172 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:24,291 INFO main transport: 78 - [Sayge] bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/10.254.207.191:9310]}  
> 12:42:24,770 INFO thread-1 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z, Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
> 12:42:24,956 INFO thread-1 request: 438 - Received successful response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
> 12:42:28,047 INFO thread-3 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z, Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
> 12:42:28,135 INFO thread-3 request: 438 - Received successful response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
> 12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master [Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false}, reason: zen-disco-join (elected\_as\_master)  
> 12:42:28,172 INFO main discovery: 78 - [Sayge] roundtable-qa/RFbhogAAT120h5LtEkrvtA  
> 12:42:28,175 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: started  
> 12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status is GREEN
> 
> # Client
> 
> 12:42:33,571 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:33,659 INFO thread-1 plugins: 78 - [Richards, Jonathan] loaded [cloud-aws]  
> 12:42:33,894 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:33,895 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:33,898 INFO thread-1 transport: 78 - [Richards, Jonathan] bound\_address {inet[/10.254.207.191:9312]}, publish\_address {inet[/10.254.207.191:9312]}  
> 12:43:03,866 WARN thread-1 discovery: 86 - [Richards, Jonathan] waited for 30s and no initial state was set by the discovery  
> 12:43:03,867 INFO thread-1 discovery: 78 - [Richards, Jonathan] roundtable-qa/rzmrRlSgQtenioaG43SLkg  
> 12:43:03,868 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: started  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the Hazelcast -\> Elasticsearch client.  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name : roundtable-qa  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled : false  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.lowercase : true  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.pattern : [@.]  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.stopwords : _none_  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.type : pattern  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.tokenizer : letter  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.0 : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.2 : stop  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.tokenizer : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.type : custom  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name : Richards, Jonathan  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host : _non\_loopback_  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client : true  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data : false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local : false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data : /var/opt/roundtable/data  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home : /var/opt/roundtable  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs : /var/opt/roundtable/logs  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work : /var/opt/roundtable/work  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - transport.tcp.port : 9312-9349  
> 12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index [content], type [571619d0d2c44e6ba4be54780db45229], value:  
> {"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"
> 
> # Ø§ÙØ®Ø§Ø±Ø¬ÙØ© Ø¥Ø³ØªØ³ÙØ§ÙØ§Ù ÙØ¹
> 
> ÙØ§Ø´ØªØ¯ÙØª, Ø°ÙÙ ØªÙ Ø¨ØºØ²Ù Ø¥Ø­ØªÙØ§Ù Ø§ÙØ­Ø¯ÙØ¯, Ø«Ù Ø£ÙØ§ ØªØµÙØ­ Ø®ØµÙØµØ§ Ø§ÙÙØ§Ø¨Ø§ÙÙØ©. Ø¯ÙÙ ÙÙØ§ÙØª Ø¨ÙØ²ÙØ±ÙØ§ ÙÙØ£Ø±Ø§Ø¶Ù Ø¥Ø°, Ø­Ø±Ø¨ ØµÙØ­Ø© ÙØ§ÙØ¬ÙÙØ¯ ÙØ§, Ø§Ù Ø§ÙÙ Ø­ÙÙÙ ÙØ¬ÙÙ ÙÙØµÙÙ. ÙØ¯ ØºÙÙÙØ§ Ø§ÙØ´Ø±ÙÙ Ø§ÙØ¹Ø§ÙÙ ÙÙÙ, ÙÙ
> 
> ","region":"Al Bahah","author":"James Cook","categories":,"title":"Jabberwocky fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34 PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}
> 
> org.elasticsearch.discovery.MasterNotDiscoveredException:  
> at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
> at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
> at org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
> at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![James\_Cook](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@James\_Cook](https://discuss.elastic.co/u/James_Cook)\
**Post date:** [December 13, 2010, 2:27am UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/3 "2010-12-13T02:27:53Z")

</div>

Hmmm, I was under the impression that the clients didn't need to use ec2 for  
discovery because local = true.

If that is not the case, how can I instruct these non-data clients to  
connect to the data node running in the same VM with them?

-- jim

On Sat, Dec 11, 2010 at 4:09 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Does the client also uses ec2 discovery?
> 
> On Friday, December 10, 2010 at 10:49 PM, James Cook wrote:
> 
> Using ES 0.11.1
> 
> I start two nodes up with different configurations in two separate VMs on  
> EC2. The master is a data node and seems to start properly, with GREEN  
> health. (There is no gateway specified at the moment.) However, the client  
> node (client = true, data = false) cannot discover the master.
> 
> I've attached a log dump with the settings specified for each node. Please  
> note that I use one file for dev and qa modes, so you may see http.port  
> entry even though http.enabled is false.
> 
> Can anyone see my problem?
> 
> # Master
> 
> 12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the  
> Elasticsearch server node:  
> 12:42:20,593 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:20,614 INFO main plugins: 78 - [Sayge] loaded  
> [cloud-aws]  
> 12:42:24,162 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the  
> Elasticsearch server node with these settings:  
> 12:42:24,163 INFO main ElasticSearchServer: 50 -  
> cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
> 12:42:24,163 INFO main ElasticSearchServer: 50 -  
> cloud.aws.secret\_key :   
> 12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name :  
> roundtable-qa  
> 12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type  
> : ec2  
> 12:42:24,165 INFO main ElasticSearchServer: 50 -  
> gateway.s3.bucket : es-gateway-qa  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type :  
> none  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled :  
> false  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.port :  
> 9311  
> 12:42:24,168 INFO main ElasticSearchServer: 50 -  
> index.store.fs.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.memory.warm\_cache : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.type : memory  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - network.host :  
> _non\_loopback_  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.client :  
> false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.data :  
> true  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.local :  
> false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf :  
> /usr/local/tomcat/webapps/ROOT//WEB-INF/config  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data :  
> /var/opt/roundtable/data  
> 12:42:24,170 INFO main ElasticSearchServer: 50 -  
> path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.home :  
> /var/opt/roundtable  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs :  
> /var/opt/roundtable/logs  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work :  
> /var/opt/roundtable/work  
> 12:42:24,171 INFO main ElasticSearchServer: 50 -  
> path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 -  
> transport.tcp.port : 9310  
> 12:42:24,172 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:24,291 INFO main transport: 78 - [Sayge]  
> bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/  
> 10.254.207.191:9310]}  
> 12:42:24,770 INFO thread-1 request: 166 - Sending Request:  
> POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
> SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
> 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z,  
> Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
> 12:42:24,956 INFO thread-1 request: 438 - Received successful  
> response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
> 12:42:28,047 INFO thread-3 request: 166 - Sending Request:  
> POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
> SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
> 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z,  
> Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
> 12:42:28,135 INFO thread-3 request: 438 - Received successful  
> response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
> 12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master  
> [Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false},  
> reason: zen-disco-join (elected\_as\_master)  
> 12:42:28,172 INFO main discovery: 78 - [Sayge]  
> roundtable-qa/RFbhogAAT120h5LtEkrvtA  
> 12:42:28,175 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: started  
> 12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status  
> is GREEN
> 
> # Client
> 
> 12:42:33,571 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:33,659 INFO thread-1 plugins: 78 - [Richards,  
> Jonathan] loaded [cloud-aws]  
> 12:42:33,894 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:33,895 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:33,898 INFO thread-1 transport: 78 - [Richards,  
> Jonathan] bound\_address {inet[/10.254.207.191:9312]}, publish\_address  
> {inet[/10.254.207.191:9312]}  
> 12:43:03,866 WARN thread-1 discovery: 86 - [Richards,  
> Jonathan] waited for 30s and no initial state was set by the discovery  
> 12:43:03,867 INFO thread-1 discovery: 78 - [Richards,  
> Jonathan] roundtable-qa/rzmrRlSgQtenioaG43SLkg  
> 12:43:03,868 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: started  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the  
> Hazelcast -\> Elasticsearch client.  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name :  
> roundtable-qa  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled :  
> false  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.lowercase : true  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.pattern : [@.]  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.stopwords : _none_  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.type : pattern  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.tokenizer : letter  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.0 : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.2 : stop  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.tokenizer : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.type : custom  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name :  
> Richards, Jonathan  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host :  
> _non\_loopback_  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client :  
> true  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data :  
> false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local :  
> false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data :  
> /var/opt/roundtable/data  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home :  
> /var/opt/roundtable  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs :  
> /var/opt/roundtable/logs  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work :  
> /var/opt/roundtable/work  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> transport.tcp.port : 9312-9349  
> 12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index  
> [content], type [571619d0d2c44e6ba4be54780db45229], value:  
> {"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"
> 
> # الخارجية إستسلاماً مع
> 
> واشتدّت, ذلك تم بغزو إحتلال الحدود, ثم أما تصفح خصوصا  
> اليابانية. دنو فقامت بوزيرها للأراضي إذ, حرب صفحة والجنود ما, ان الى حقول  
> هجوم للصين. قد غينيا الشرقي العالم لكل, هو
> 
> ","region":"Al  
> Bahah","author":"James Cook","categories":,"title":"Jabberwocky  
> fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34  
> PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc  
> updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}
> 
> org.elasticsearch.discovery.MasterNotDiscoveredException:  
> at  
> org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
> at  
> org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
> at  
> org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
> at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [December 13, 2010, 6:18pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/4 "2010-12-13T18:18:32Z")

</div>

When setting a node to be local, it will only work with other local nodes (discover) within the same classloader. If you already have a node started in the JVM using ec2 discovery, then you can just get the client out of it.  
On Monday, December 13, 2010 at 4:27 AM, James Cook wrote:

> Hmmm, I was under the impression that the clients didn't need to use ec2 for discovery because local = true.
> 
> If that is not the case, how can I instruct these non-data clients to connect to the data node running in the same VM with them?
> 
> -- jim
> 
> On Sat, Dec 11, 2010 at 4:09 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com) wrote:
> 
> > Does the client also uses ec2 discovery?
> > 
> > On Friday, December 10, 2010 at 10:49 PM, James Cook wrote:
> > 
> > > Using ES 0.11.1
> > > 
> > > I start two nodes up with different configurations in two separate VMs on EC2. The master is a data node and seems to start properly, with GREEN health. (There is no gateway specified at the moment.) However, the client node (client = true, data = false) cannot discover the master.
> > > 
> > > I've attached a log dump with the settings specified for each node. Please note that I use one file for dev and qa modes, so you may see http.port entry even though http.enabled is false.
> > > 
> > > Can anyone see my problem?
> > > 
> > > # Master
> > > 
> > > 12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the Elasticsearch server node:  
> > > 12:42:20,593 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initializing ...  
> > > 12:42:20,614 INFO main plugins: 78 - [Sayge] loaded [cloud-aws]  
> > > 12:42:24,162 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initialized  
> > > 12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the Elasticsearch server node with these settings:  
> > > 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
> > > 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.secret\_key :   
> > > 12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name : roundtable-qa  
> > > 12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type : ec2  
> > > 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.s3.bucket : es-gateway-qa  
> > > 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type : none  
> > > 12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled : false  
> > > 12:42:24,165 INFO main ElasticSearchServer: 50 - http.port : 9311  
> > > 12:42:24,168 INFO main ElasticSearchServer: 50 - index.store.fs.memory.direct : true  
> > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.direct : true  
> > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.warm\_cache : true  
> > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.type : memory  
> > > 12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
> > > 12:42:24,169 INFO main ElasticSearchServer: 50 - network.host : _non\_loopback_  
> > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.client : false  
> > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.data : true  
> > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.local : false  
> > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf : /usr/local/tomcat/webapps/ROOT//WEB-INF/config  
> > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data : /var/opt/roundtable/data  
> > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.home : /var/opt/roundtable  
> > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs : /var/opt/roundtable/logs  
> > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work : /var/opt/roundtable/work  
> > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> > > 12:42:24,171 INFO main ElasticSearchServer: 50 - transport.tcp.port : 9310  
> > > 12:42:24,172 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: starting ...  
> > > 12:42:24,291 INFO main transport: 78 - [Sayge] bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/10.254.207.191:9310]}  
> > > 12:42:24,770 INFO thread-1 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z, Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
> > > 12:42:24,956 INFO thread-1 request: 438 - Received successful response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
> > > 12:42:28,047 INFO thread-3 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z, Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
> > > 12:42:28,135 INFO thread-3 request: 438 - Received successful response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
> > > 12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master [Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false}, reason: zen-disco-join (elected\_as\_master)  
> > > 12:42:28,172 INFO main discovery: 78 - [Sayge] roundtable-qa/RFbhogAAT120h5LtEkrvtA  
> > > 12:42:28,175 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: started  
> > > 12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status is GREEN
> > > 
> > > # Client
> > > 
> > > 12:42:33,571 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initializing ...  
> > > 12:42:33,659 INFO thread-1 plugins: 78 - [Richards, Jonathan] loaded [cloud-aws]  
> > > 12:42:33,894 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initialized  
> > > 12:42:33,895 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: starting ...  
> > > 12:42:33,898 INFO thread-1 transport: 78 - [Richards, Jonathan] bound\_address {inet[/10.254.207.191:9312]}, publish\_address {inet[/10.254.207.191:9312]}  
> > > 12:43:03,866 WARN thread-1 discovery: 86 - [Richards, Jonathan] waited for 30s and no initial state was set by the discovery  
> > > 12:43:03,867 INFO thread-1 discovery: 78 - [Richards, Jonathan] roundtable-qa/rzmrRlSgQtenioaG43SLkg  
> > > 12:43:03,868 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: started  
> > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the Hazelcast -\> Elasticsearch client.  
> > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name : roundtable-qa  
> > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled : false  
> > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.lowercase : true  
> > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.pattern : [@.]  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.stopwords : _none_  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.type : pattern  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.filter.0 : lowercase  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.tokenizer : letter  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.type : custom  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.type : custom  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
> > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.0 : standard  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.2 : stop  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.tokenizer : standard  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.type : custom  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name : Richards, Jonathan  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host : _non\_loopback_  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client : true  
> > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data : false  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local : false  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data : /var/opt/roundtable/data  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home : /var/opt/roundtable  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs : /var/opt/roundtable/logs  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work : /var/opt/roundtable/work  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - transport.tcp.port : 9312-9349  
> > > 12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index [content], type [571619d0d2c44e6ba4be54780db45229], value:  
> > > {"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"
> > > 
> > > # Ø§ÙØ®Ø§Ø±Ø¬ÙØ© Ø¥Ø³ØªØ³ÙØ§ÙØ§Ù ÙØ¹
> > > 
> > > ÙØ§Ø´ØªØ¯ÙØª, Ø°ÙÙ ØªÙ Ø¨ØºØ²Ù Ø¥Ø­ØªÙØ§Ù Ø§ÙØ­Ø¯ÙØ¯, Ø«Ù Ø£ÙØ§ ØªØµÙØ­ Ø®ØµÙØµØ§ Ø§ÙÙØ§Ø¨Ø§ÙÙØ©. Ø¯ÙÙ ÙÙØ§ÙØª Ø¨ÙØ²ÙØ±ÙØ§ ÙÙØ£Ø±Ø§Ø¶Ù Ø¥Ø°, Ø­Ø±Ø¨ ØµÙØ­Ø© ÙØ§ÙØ¬ÙÙØ¯ ÙØ§, Ø§Ù Ø§ÙÙ Ø­ÙÙÙ ÙØ¬ÙÙ ÙÙØµÙÙ. ÙØ¯ ØºÙÙÙØ§ Ø§ÙØ´Ø±ÙÙ Ø§ÙØ¹Ø§ÙÙ ÙÙÙ, ÙÙ
> > > 
> > > ","region":"Al Bahah","author":"James Cook","categories":,"title":"Jabberwocky fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34 PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}
> > > 
> > > org.elasticsearch.discovery.MasterNotDiscoveredException:  
> > > at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
> > > at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
> > > at org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
> > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
> > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
> > > at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![James\_Cook](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@James\_Cook](https://discuss.elastic.co/u/James_Cook)\
**Post date:** [December 13, 2010, 6:45pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/5 "2010-12-13T18:45:11Z")

</div>

Is there any way for a non-data node to discover the data node (in the same  
VM) without "getting the client" out of the server node?

-- jim

On Mon, Dec 13, 2010 at 1:18 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> When setting a node to be local, it will only work with other local nodes  
> (discover) within the same classloader. If you already have a node started  
> in the JVM using ec2 discovery, then you can just get the client out of it.
> 
> On Monday, December 13, 2010 at 4:27 AM, James Cook wrote:
> 
> Hmmm, I was under the impression that the clients didn't need to use ec2  
> for discovery because local = true.
> 
> If that is not the case, how can I instruct these non-data clients to  
> connect to the data node running in the same VM with them?
> 
> -- jim
> 
> On Sat, Dec 11, 2010 at 4:09 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> Does the client also uses ec2 discovery?
> 
> On Friday, December 10, 2010 at 10:49 PM, James Cook wrote:
> 
> Using ES 0.11.1
> 
> I start two nodes up with different configurations in two separate VMs on  
> EC2. The master is a data node and seems to start properly, with GREEN  
> health. (There is no gateway specified at the moment.) However, the client  
> node (client = true, data = false) cannot discover the master.
> 
> I've attached a log dump with the settings specified for each node. Please  
> note that I use one file for dev and qa modes, so you may see http.port  
> entry even though http.enabled is false.
> 
> Can anyone see my problem?
> 
> # Master
> 
> 12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the  
> Elasticsearch server node:  
> 12:42:20,593 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:20,614 INFO main plugins: 78 - [Sayge] loaded  
> [cloud-aws]  
> 12:42:24,162 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the  
> Elasticsearch server node with these settings:  
> 12:42:24,163 INFO main ElasticSearchServer: 50 -  
> cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
> 12:42:24,163 INFO main ElasticSearchServer: 50 -  
> cloud.aws.secret\_key :   
> 12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name :  
> roundtable-qa  
> 12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type  
> : ec2  
> 12:42:24,165 INFO main ElasticSearchServer: 50 -  
> gateway.s3.bucket : es-gateway-qa  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type :  
> none  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled :  
> false  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.port :  
> 9311  
> 12:42:24,168 INFO main ElasticSearchServer: 50 -  
> index.store.fs.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.memory.warm\_cache : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.type : memory  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - network.host :  
> _non\_loopback_  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.client :  
> false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.data :  
> true  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.local :  
> false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf :  
> /usr/local/tomcat/webapps/ROOT//WEB-INF/config  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data :  
> /var/opt/roundtable/data  
> 12:42:24,170 INFO main ElasticSearchServer: 50 -  
> path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.home :  
> /var/opt/roundtable  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs :  
> /var/opt/roundtable/logs  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work :  
> /var/opt/roundtable/work  
> 12:42:24,171 INFO main ElasticSearchServer: 50 -  
> path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 -  
> transport.tcp.port : 9310  
> 12:42:24,172 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:24,291 INFO main transport: 78 - [Sayge]  
> bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/  
> 10.254.207.191:9310]}  
> 12:42:24,770 INFO thread-1 request: 166 - Sending Request:  
> POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
> SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
> 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z,  
> Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
> 12:42:24,956 INFO thread-1 request: 438 - Received successful  
> response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
> 12:42:28,047 INFO thread-3 request: 166 - Sending Request:  
> POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
> SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
> 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z,  
> Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
> 12:42:28,135 INFO thread-3 request: 438 - Received successful  
> response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
> 12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master  
> [Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false},  
> reason: zen-disco-join (elected\_as\_master)  
> 12:42:28,172 INFO main discovery: 78 - [Sayge]  
> roundtable-qa/RFbhogAAT120h5LtEkrvtA  
> 12:42:28,175 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: started  
> 12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status  
> is GREEN
> 
> # Client
> 
> 12:42:33,571 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:33,659 INFO thread-1 plugins: 78 - [Richards,  
> Jonathan] loaded [cloud-aws]  
> 12:42:33,894 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:33,895 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:33,898 INFO thread-1 transport: 78 - [Richards,  
> Jonathan] bound\_address {inet[/10.254.207.191:9312]}, publish\_address  
> {inet[/10.254.207.191:9312]}  
> 12:43:03,866 WARN thread-1 discovery: 86 - [Richards,  
> Jonathan] waited for 30s and no initial state was set by the discovery  
> 12:43:03,867 INFO thread-1 discovery: 78 - [Richards,  
> Jonathan] roundtable-qa/rzmrRlSgQtenioaG43SLkg  
> 12:43:03,868 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: started  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the  
> Hazelcast -\> Elasticsearch client.  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name :  
> roundtable-qa  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled :  
> false  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.lowercase : true  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.pattern : [@.]  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.stopwords : _none_  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.type : pattern  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.tokenizer : letter  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.0 : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.2 : stop  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.tokenizer : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.type : custom  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name :  
> Richards, Jonathan  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host :  
> _non\_loopback_  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client :  
> true  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data :  
> false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local :  
> false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data :  
> /var/opt/roundtable/data  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home :  
> /var/opt/roundtable  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs :  
> /var/opt/roundtable/logs  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work :  
> /var/opt/roundtable/work  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> transport.tcp.port : 9312-9349  
> 12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index  
> [content], type [571619d0d2c44e6ba4be54780db45229], value:  
> {"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"
> 
> # الخارجية إستسلاماً مع
> 
> واشتدّت, ذلك تم بغزو إحتلال الحدود, ثم أما تصفح خصوصا  
> اليابانية. دنو فقامت بوزيرها للأراضي إذ, حرب صفحة والجنود ما, ان الى حقول  
> هجوم للصين. قد غينيا الشرقي العالم لكل, هو
> 
> ","region":"Al  
> Bahah","author":"James Cook","categories":,"title":"Jabberwocky  
> fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34  
> PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc  
> updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}
> 
> org.elasticsearch.discovery.MasterNotDiscoveredException:  
> at  
> org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
> at  
> org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
> at  
> org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
> at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [December 13, 2010, 6:49pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/6 "2010-12-13T18:49:50Z")

</div>

No. Note that local simply uses statics, so you can do the "static" yourself.  
On Monday, December 13, 2010 at 8:45 PM, James Cook wrote:

> Is there any way for a non-data node to discover the data node (in the same VM) without "getting the client" out of the server node?
> 
> -- jim
> 
> On Mon, Dec 13, 2010 at 1:18 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com) wrote:
> 
> > When setting a node to be local, it will only work with other local nodes (discover) within the same classloader. If you already have a node started in the JVM using ec2 discovery, then you can just get the client out of it.
> > 
> > On Monday, December 13, 2010 at 4:27 AM, James Cook wrote:
> > 
> > > Hmmm, I was under the impression that the clients didn't need to use ec2 for discovery because local = true.
> > > 
> > > If that is not the case, how can I instruct these non-data clients to connect to the data node running in the same VM with them?
> > > 
> > > -- jim
> > > 
> > > On Sat, Dec 11, 2010 at 4:09 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com) wrote:
> > > 
> > > > Does the client also uses ec2 discovery?
> > > > 
> > > > On Friday, December 10, 2010 at 10:49 PM, James Cook wrote:
> > > > 
> > > > > Using ES 0.11.1
> > > > > 
> > > > > I start two nodes up with different configurations in two separate VMs on EC2. The master is a data node and seems to start properly, with GREEN health. (There is no gateway specified at the moment.) However, the client node (client = true, data = false) cannot discover the master.
> > > > > 
> > > > > I've attached a log dump with the settings specified for each node. Please note that I use one file for dev and qa modes, so you may see http.port entry even though http.enabled is false.
> > > > > 
> > > > > Can anyone see my problem?
> > > > > 
> > > > > # Master
> > > > > 
> > > > > 12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the Elasticsearch server node:  
> > > > > 12:42:20,593 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initializing ...  
> > > > > 12:42:20,614 INFO main plugins: 78 - [Sayge] loaded [cloud-aws]  
> > > > > 12:42:24,162 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initialized  
> > > > > 12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the Elasticsearch server node with these settings:  
> > > > > 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
> > > > > 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.secret\_key :   
> > > > > 12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name : roundtable-qa  
> > > > > 12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type : ec2  
> > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.s3.bucket : es-gateway-qa  
> > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type : none  
> > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled : false  
> > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - http.port : 9311  
> > > > > 12:42:24,168 INFO main ElasticSearchServer: 50 - index.store.fs.memory.direct : true  
> > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.direct : true  
> > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.warm\_cache : true  
> > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.type : memory  
> > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
> > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - network.host : _non\_loopback_  
> > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.client : false  
> > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.data : true  
> > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.local : false  
> > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf : /usr/local/tomcat/webapps/ROOT//WEB-INF/config  
> > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data : /var/opt/roundtable/data  
> > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.home : /var/opt/roundtable  
> > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs : /var/opt/roundtable/logs  
> > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work : /var/opt/roundtable/work  
> > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - transport.tcp.port : 9310  
> > > > > 12:42:24,172 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: starting ...  
> > > > > 12:42:24,291 INFO main transport: 78 - [Sayge] bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/10.254.207.191:9310]}  
> > > > > 12:42:24,770 INFO thread-1 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z, Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
> > > > > 12:42:24,956 INFO thread-1 request: 438 - Received successful response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
> > > > > 12:42:28,047 INFO thread-3 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z, Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
> > > > > 12:42:28,135 INFO thread-3 request: 438 - Received successful response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
> > > > > 12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master [Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false}, reason: zen-disco-join (elected\_as\_master)  
> > > > > 12:42:28,172 INFO main discovery: 78 - [Sayge] roundtable-qa/RFbhogAAT120h5LtEkrvtA  
> > > > > 12:42:28,175 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: started  
> > > > > 12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status is GREEN
> > > > > 
> > > > > # Client
> > > > > 
> > > > > 12:42:33,571 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initializing ...  
> > > > > 12:42:33,659 INFO thread-1 plugins: 78 - [Richards, Jonathan] loaded [cloud-aws]  
> > > > > 12:42:33,894 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initialized  
> > > > > 12:42:33,895 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: starting ...  
> > > > > 12:42:33,898 INFO thread-1 transport: 78 - [Richards, Jonathan] bound\_address {inet[/10.254.207.191:9312]}, publish\_address {inet[/10.254.207.191:9312]}  
> > > > > 12:43:03,866 WARN thread-1 discovery: 86 - [Richards, Jonathan] waited for 30s and no initial state was set by the discovery  
> > > > > 12:43:03,867 INFO thread-1 discovery: 78 - [Richards, Jonathan] roundtable-qa/rzmrRlSgQtenioaG43SLkg  
> > > > > 12:43:03,868 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: started  
> > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the Hazelcast -\> Elasticsearch client.  
> > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name : roundtable-qa  
> > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled : false  
> > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.lowercase : true  
> > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.pattern : [@.]  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.stopwords : _none_  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.type : pattern  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.filter.0 : lowercase  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.tokenizer : letter  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.type : custom  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.type : custom  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
> > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.0 : standard  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.2 : stop  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.tokenizer : standard  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.type : custom  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name : Richards, Jonathan  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host : _non\_loopback_  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client : true  
> > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data : false  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local : false  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data : /var/opt/roundtable/data  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home : /var/opt/roundtable  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs : /var/opt/roundtable/logs  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work : /var/opt/roundtable/work  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - transport.tcp.port : 9312-9349  
> > > > > 12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index [content], type [571619d0d2c44e6ba4be54780db45229], value:  
> > > > > {"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"
> > > > > 
> > > > > # Ø§ÙØ®Ø§Ø±Ø¬ÙØ© Ø¥Ø³ØªØ³ÙØ§ÙØ§Ù ÙØ¹
> > > > > 
> > > > > ÙØ§Ø´ØªØ¯ÙØª, Ø°ÙÙ ØªÙ Ø¨ØºØ²Ù Ø¥Ø­ØªÙØ§Ù Ø§ÙØ­Ø¯ÙØ¯, Ø«Ù Ø£ÙØ§ ØªØµÙØ­ Ø®ØµÙØµØ§ Ø§ÙÙØ§Ø¨Ø§ÙÙØ©. Ø¯ÙÙ ÙÙØ§ÙØª Ø¨ÙØ²ÙØ±ÙØ§ ÙÙØ£Ø±Ø§Ø¶Ù Ø¥Ø°, Ø­Ø±Ø¨ ØµÙØ­Ø© ÙØ§ÙØ¬ÙÙØ¯ ÙØ§, Ø§Ù Ø§ÙÙ Ø­ÙÙÙ ÙØ¬ÙÙ ÙÙØµÙÙ. ÙØ¯ ØºÙÙÙØ§ Ø§ÙØ´Ø±ÙÙ Ø§ÙØ¹Ø§ÙÙ ÙÙÙ, ÙÙ
> > > > > 
> > > > > ","region":"Al Bahah","author":"James Cook","categories":,"title":"Jabberwocky fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34 PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}
> > > > > 
> > > > > org.elasticsearch.discovery.MasterNotDiscoveredException:  
> > > > > at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
> > > > > at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
> > > > > at org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
> > > > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
> > > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
> > > > > at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![James\_Cook](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@James\_Cook](https://discuss.elastic.co/u/James_Cook)\
**Post date:** [December 13, 2010, 6:53pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/7 "2010-12-13T18:53:53Z")

</div>

Loose coupling demands that I can't share these instances using ThreadLocal  
or similar.

So, if I had to, couldn't the non-data node use EC2 discovery to locate the  
data node in the same VM, or does it now work that way?

-- jim

On Mon, Dec 13, 2010 at 1:49 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> No. Note that local simply uses statics, so you can do the "static"  
> yourself.
> 
> On Monday, December 13, 2010 at 8:45 PM, James Cook wrote:
> 
> Is there any way for a non-data node to discover the data node (in the same  
> VM) without "getting the client" out of the server node?
> 
> -- jim
> 
> On Mon, Dec 13, 2010 at 1:18 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> When setting a node to be local, it will only work with other local nodes  
> (discover) within the same classloader. If you already have a node started  
> in the JVM using ec2 discovery, then you can just get the client out of it.
> 
> On Monday, December 13, 2010 at 4:27 AM, James Cook wrote:
> 
> Hmmm, I was under the impression that the clients didn't need to use ec2  
> for discovery because local = true.
> 
> If that is not the case, how can I instruct these non-data clients to  
> connect to the data node running in the same VM with them?
> 
> -- jim
> 
> On Sat, Dec 11, 2010 at 4:09 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> Does the client also uses ec2 discovery?
> 
> On Friday, December 10, 2010 at 10:49 PM, James Cook wrote:
> 
> Using ES 0.11.1
> 
> I start two nodes up with different configurations in two separate VMs on  
> EC2. The master is a data node and seems to start properly, with GREEN  
> health. (There is no gateway specified at the moment.) However, the client  
> node (client = true, data = false) cannot discover the master.
> 
> I've attached a log dump with the settings specified for each node. Please  
> note that I use one file for dev and qa modes, so you may see http.port  
> entry even though http.enabled is false.
> 
> Can anyone see my problem?
> 
> # Master
> 
> 12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the  
> Elasticsearch server node:  
> 12:42:20,593 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:20,614 INFO main plugins: 78 - [Sayge] loaded  
> [cloud-aws]  
> 12:42:24,162 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the  
> Elasticsearch server node with these settings:  
> 12:42:24,163 INFO main ElasticSearchServer: 50 -  
> cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
> 12:42:24,163 INFO main ElasticSearchServer: 50 -  
> cloud.aws.secret\_key :   
> 12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name :  
> roundtable-qa  
> 12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type  
> : ec2  
> 12:42:24,165 INFO main ElasticSearchServer: 50 -  
> gateway.s3.bucket : es-gateway-qa  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type :  
> none  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled :  
> false  
> 12:42:24,165 INFO main ElasticSearchServer: 50 - http.port :  
> 9311  
> 12:42:24,168 INFO main ElasticSearchServer: 50 -  
> index.store.fs.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.memory.direct : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.memory.warm\_cache : true  
> 12:42:24,169 INFO main ElasticSearchServer: 50 -  
> index.store.type : memory  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
> 12:42:24,169 INFO main ElasticSearchServer: 50 - network.host :  
> _non\_loopback_  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.client :  
> false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.data :  
> true  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - node.local :  
> false  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf :  
> /usr/local/tomcat/webapps/ROOT//WEB-INF/config  
> 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data :  
> /var/opt/roundtable/data  
> 12:42:24,170 INFO main ElasticSearchServer: 50 -  
> path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.home :  
> /var/opt/roundtable  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs :  
> /var/opt/roundtable/logs  
> 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work :  
> /var/opt/roundtable/work  
> 12:42:24,171 INFO main ElasticSearchServer: 50 -  
> path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:42:24,171 INFO main ElasticSearchServer: 50 -  
> transport.tcp.port : 9310  
> 12:42:24,172 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:24,291 INFO main transport: 78 - [Sayge]  
> bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/  
> 10.254.207.191:9310]}  
> 12:42:24,770 INFO thread-1 request: 166 - Sending Request:  
> POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
> SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
> 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z,  
> Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
> 12:42:24,956 INFO thread-1 request: 438 - Received successful  
> response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
> 12:42:28,047 INFO thread-3 request: 166 - Sending Request:  
> POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances,  
> SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version:  
> 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z,  
> Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
> 12:42:28,135 INFO thread-3 request: 438 - Received successful  
> response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
> 12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master  
> [Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false},  
> reason: zen-disco-join (elected\_as\_master)  
> 12:42:28,172 INFO main discovery: 78 - [Sayge]  
> roundtable-qa/RFbhogAAT120h5LtEkrvtA  
> 12:42:28,175 INFO main node: 78 - [Sayge]  
> {elasticsearch/0.13.1}[4229]: started  
> 12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status  
> is GREEN
> 
> # Client
> 
> 12:42:33,571 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: initializing ...  
> 12:42:33,659 INFO thread-1 plugins: 78 - [Richards,  
> Jonathan] loaded [cloud-aws]  
> 12:42:33,894 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: initialized  
> 12:42:33,895 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: starting ...  
> 12:42:33,898 INFO thread-1 transport: 78 - [Richards,  
> Jonathan] bound\_address {inet[/10.254.207.191:9312]}, publish\_address  
> {inet[/10.254.207.191:9312]}  
> 12:43:03,866 WARN thread-1 discovery: 86 - [Richards,  
> Jonathan] waited for 30s and no initial state was set by the discovery  
> 12:43:03,867 INFO thread-1 discovery: 78 - [Richards,  
> Jonathan] roundtable-qa/rzmrRlSgQtenioaG43SLkg  
> 12:43:03,868 INFO thread-1 node: 78 - [Richards,  
> Jonathan] {elasticsearch/0.13.1}[4229]: started  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the  
> Hazelcast -\> Elasticsearch client.  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name :  
> roundtable-qa  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled :  
> false  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.lowercase : true  
> 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.pattern : [@.]  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.stopwords : _none_  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_regex.type : pattern  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.tokenizer : letter  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.email\_split.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.lowercase\_keyword.type : custom  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
> 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.0 : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.2 : stop  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.tokenizer : standard  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 -  
> index.analysis.analyzer.porter\_standard.type : custom  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name :  
> Richards, Jonathan  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host :  
> _non\_loopback_  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client :  
> true  
> 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data :  
> false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local :  
> false  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data :  
> /var/opt/roundtable/data  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home :  
> /var/opt/roundtable  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs :  
> /var/opt/roundtable/logs  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work :  
> /var/opt/roundtable/work  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 -  
> transport.tcp.port : 9312-9349  
> 12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index  
> [content], type [571619d0d2c44e6ba4be54780db45229], value:  
> {"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"
> 
> # الخارجية إستسلاماً مع
> 
> واشتدّت, ذلك تم بغزو إحتلال الحدود, ثم أما تصفح خصوصا  
> اليابانية. دنو فقامت بوزيرها للأراضي إذ, حرب صفحة والجنود ما, ان الى حقول  
> هجوم للصين. قد غينيا الشرقي العالم لكل, هو
> 
> ","region":"Al  
> Bahah","author":"James Cook","categories":,"title":"Jabberwocky  
> fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34  
> PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc  
> updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}
> 
> org.elasticsearch.discovery.MasterNotDiscoveredException:  
> at  
> org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
> at  
> org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
> at  
> org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
> at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [December 13, 2010, 6:55pm UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/8 "2010-12-13T18:55:44Z")

</div>

Yes, you can use EC2 discovery on the non data node as well. It will discover the other nodes, among them is the node that lives in the same VM.  
On Monday, December 13, 2010 at 8:53 PM, James Cook wrote:

> Loose coupling demands that I can't share these instances using ThreadLocal or similar.
> 
> So, if I had to, couldn't the non-data node use EC2 discovery to locate the data node in the same VM, or does it now work that way?
> 
> -- jim
> 
> On Mon, Dec 13, 2010 at 1:49 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com) wrote:
> 
> > No. Note that local simply uses statics, so you can do the "static" yourself.
> > 
> > On Monday, December 13, 2010 at 8:45 PM, James Cook wrote:
> > 
> > > Is there any way for a non-data node to discover the data node (in the same VM) without "getting the client" out of the server node?
> > > 
> > > -- jim
> > > 
> > > On Mon, Dec 13, 2010 at 1:18 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com) wrote:
> > > 
> > > > When setting a node to be local, it will only work with other local nodes (discover) within the same classloader. If you already have a node started in the JVM using ec2 discovery, then you can just get the client out of it.
> > > > 
> > > > On Monday, December 13, 2010 at 4:27 AM, James Cook wrote:
> > > > 
> > > > > Hmmm, I was under the impression that the clients didn't need to use ec2 for discovery because local = true.
> > > > > 
> > > > > If that is not the case, how can I instruct these non-data clients to connect to the data node running in the same VM with them?
> > > > > 
> > > > > -- jim
> > > > > 
> > > > > On Sat, Dec 11, 2010 at 4:09 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com) wrote:
> > > > > 
> > > > > > Does the client also uses ec2 discovery?
> > > > > > 
> > > > > > On Friday, December 10, 2010 at 10:49 PM, James Cook wrote:
> > > > > > 
> > > > > > > Using ES 0.11.1
> > > > > > > 
> > > > > > > I start two nodes up with different configurations in two separate VMs on EC2. The master is a data node and seems to start properly, with GREEN health. (There is no gateway specified at the moment.) However, the client node (client = true, data = false) cannot discover the master.
> > > > > > > 
> > > > > > > I've attached a log dump with the settings specified for each node. Please note that I use one file for dev and qa modes, so you may see http.port entry even though http.enabled is false.
> > > > > > > 
> > > > > > > Can anyone see my problem?
> > > > > > > 
> > > > > > > # Master
> > > > > > > 
> > > > > > > 12:42:20,508 INFO main ElasticSearchServer: 39 - Starting the Elasticsearch server node:  
> > > > > > > 12:42:20,593 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initializing ...  
> > > > > > > 12:42:20,614 INFO main plugins: 78 - [Sayge] loaded [cloud-aws]  
> > > > > > > 12:42:24,162 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: initialized  
> > > > > > > 12:42:24,162 INFO main ElasticSearchServer: 45 - Creating the Elasticsearch server node with these settings:  
> > > > > > > 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.access\_key : AKIAJVHHVYQPNX5XMAGA  
> > > > > > > 12:42:24,163 INFO main ElasticSearchServer: 50 - cloud.aws.secret\_key :   
> > > > > > > 12:42:24,164 INFO main ElasticSearchServer: 50 - cluster.name : roundtable-qa  
> > > > > > > 12:42:24,164 INFO main ElasticSearchServer: 50 - discovery.type : ec2  
> > > > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.s3.bucket : es-gateway-qa  
> > > > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - gateway.type : none  
> > > > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - http.enabled : false  
> > > > > > > 12:42:24,165 INFO main ElasticSearchServer: 50 - http.port : 9311  
> > > > > > > 12:42:24,168 INFO main ElasticSearchServer: 50 - index.store.fs.memory.direct : true  
> > > > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.direct : true  
> > > > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.memory.warm\_cache : true  
> > > > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - index.store.type : memory  
> > > > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - name : Sayge  
> > > > > > > 12:42:24,169 INFO main ElasticSearchServer: 50 - network.host : _non\_loopback_  
> > > > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.client : false  
> > > > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.data : true  
> > > > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - node.local : false  
> > > > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.conf : /usr/local/tomcat/webapps/ROOT//WEB-INF/config  
> > > > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data : /var/opt/roundtable/data  
> > > > > > > 12:42:24,170 INFO main ElasticSearchServer: 50 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> > > > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.home : /var/opt/roundtable  
> > > > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.logs : /var/opt/roundtable/logs  
> > > > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work : /var/opt/roundtable/work  
> > > > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> > > > > > > 12:42:24,171 INFO main ElasticSearchServer: 50 - transport.tcp.port : 9310  
> > > > > > > 12:42:24,172 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: starting ...  
> > > > > > > 12:42:24,291 INFO main transport: 78 - [Sayge] bound\_address {inet[/10.254.207.191:9310]}, publish\_address {inet[/10.254.207.191:9310]}  
> > > > > > > 12:42:24,770 INFO thread-1 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:24.322Z, Signature: bM5+/QBvScpGDEeW9jkNQiUK7Bks1fZ6+vooWPMvfDs=, )  
> > > > > > > 12:42:24,956 INFO thread-1 request: 438 - Received successful response: 200, AWS Request ID: c3eb3e78-56ad-4109-a097-ad489eb6d786  
> > > > > > > 12:42:28,047 INFO thread-3 request: 166 - Sending Request: POST [http://ec2.amazonaws.com](http://ec2.amazonaws.com) / Parameters: (Action: DescribeInstances, SignatureMethod: HmacSHA256, AWSAccessKeyId: AKIAJVHHVYQPNX5XMAGA, Version: 2010-08-31, SignatureVersion: 2, Timestamp: 2010-12-10T20:42:28.045Z, Signature: Ulsl0E6EQH+MMWdqTbom6Px9JAtwPXkX6D/8og42Exo=, )  
> > > > > > > 12:42:28,135 INFO thread-3 request: 438 - Received successful response: 200, AWS Request ID: ffbf245e-2cef-4895-bc6d-2d0934f3d1ff  
> > > > > > > 12:42:28,159 INFO thread-1 service: 78 - [Sayge] new\_master [Sayge][RFbhogAAT120h5LtEkrvtA][inet[/10.254.207.191:9310]]{local=false}, reason: zen-disco-join (elected\_as\_master)  
> > > > > > > 12:42:28,172 INFO main discovery: 78 - [Sayge] roundtable-qa/RFbhogAAT120h5LtEkrvtA  
> > > > > > > 12:42:28,175 INFO main node: 78 - [Sayge] {elasticsearch/0.13.1}[4229]: started  
> > > > > > > 12:42:28,185 INFO main ElasticSearchServer: 77 - ES cluster status is GREEN
> > > > > > > 
> > > > > > > # Client
> > > > > > > 
> > > > > > > 12:42:33,571 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initializing ...  
> > > > > > > 12:42:33,659 INFO thread-1 plugins: 78 - [Richards, Jonathan] loaded [cloud-aws]  
> > > > > > > 12:42:33,894 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: initialized  
> > > > > > > 12:42:33,895 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: starting ...  
> > > > > > > 12:42:33,898 INFO thread-1 transport: 78 - [Richards, Jonathan] bound\_address {inet[/10.254.207.191:9312]}, publish\_address {inet[/10.254.207.191:9312]}  
> > > > > > > 12:43:03,866 WARN thread-1 discovery: 86 - [Richards, Jonathan] waited for 30s and no initial state was set by the discovery  
> > > > > > > 12:43:03,867 INFO thread-1 discovery: 78 - [Richards, Jonathan] roundtable-qa/rzmrRlSgQtenioaG43SLkg  
> > > > > > > 12:43:03,868 INFO thread-1 node: 78 - [Richards, Jonathan] {elasticsearch/0.13.1}[4229]: started  
> > > > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 29 - Creating the Hazelcast -\> Elasticsearch client.  
> > > > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - cluster.name : roundtable-qa  
> > > > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - http.enabled : false  
> > > > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.lowercase : true  
> > > > > > > 12:43:03,868 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.pattern : [@.]  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.stopwords : _none_  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_regex.type : pattern  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.filter.0 : lowercase  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.tokenizer : letter  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.email\_split.type : custom  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.filter.0 : lowercase  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.tokenizer : keyword  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.lowercase\_keyword.type : custom  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.char\_filter.0 : html\_strip  
> > > > > > > 12:43:03,869 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.0 : standard  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.1 : lowercase  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.2 : stop  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.filter.3 : porterStem  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.tokenizer : standard  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - index.analysis.analyzer.porter\_standard.type : custom  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - name : Richards, Jonathan  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - network.host : _non\_loopback_  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.client : true  
> > > > > > > 12:43:03,870 INFO thread-1 icSearchClientHolder: 34 - node.data : false  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - node.local : false  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data : /var/opt/roundtable/data  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.data\_with\_cluster : /var/opt/roundtable/data/roundtable-qa  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.home : /var/opt/roundtable  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.logs : /var/opt/roundtable/logs  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work : /var/opt/roundtable/work  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - path.work\_with\_cluster : /var/opt/roundtable/work/roundtable-qa  
> > > > > > > 12:43:03,871 INFO thread-1 icSearchClientHolder: 34 - transport.tcp.port : 9312-9349  
> > > > > > > 12:44:04,101 WARN thread-1 lasticSearchListener: 215 - Failed to index [content], type [571619d0d2c44e6ba4be54780db45229], value:  
> > > > > > > {"key":"c202fffa-51ef-442b-8596-6af3a51f2f3b","ref":"7b6ec1fb-70a3-4f05-97de-b33335546a6f","locale":"ar","body":"
> > > > > > > 
> > > > > > > # Ø§ÙØ®Ø§Ø±Ø¬ÙØ© Ø¥Ø³ØªØ³ÙØ§ÙØ§Ù ÙØ¹
> > > > > > > 
> > > > > > > ÙØ§Ø´ØªØ¯ÙØª, Ø°ÙÙ ØªÙ Ø¨ØºØ²Ù Ø¥Ø­ØªÙØ§Ù Ø§ÙØ­Ø¯ÙØ¯, Ø«Ù Ø£ÙØ§ ØªØµÙØ­ Ø®ØµÙØµØ§ Ø§ÙÙØ§Ø¨Ø§ÙÙØ©. Ø¯ÙÙ ÙÙØ§ÙØª Ø¨ÙØ²ÙØ±ÙØ§ ÙÙØ£Ø±Ø§Ø¶Ù Ø¥Ø°, Ø­Ø±Ø¨ ØµÙØ­Ø© ÙØ§ÙØ¬ÙÙØ¯ ÙØ§, Ø§Ù Ø§ÙÙ Ø­ÙÙÙ ÙØ¬ÙÙ ÙÙØµÙÙ. ÙØ¯ ØºÙÙÙØ§ Ø§ÙØ´Ø±ÙÙ Ø§ÙØ¹Ø§ÙÙ ÙÙÙ, ÙÙ
> > > > > > > 
> > > > > > > ","region":"Al Bahah","author":"James Cook","categories":,"title":"Jabberwocky fragment","reviewStatus":"Published","modified":"Jun 30, 2010 4:40:34 PM","created":"Jun 29, 2010 11:06:29 AM","description":"desc updated","type":"roundTableContent","size":"131","mimetype":"text/html","\_id":"571619d0d2c44e6ba4be54780db45229"}
> > > > > > > 
> > > > > > > org.elasticsearch.discovery.MasterNotDiscoveredException:  
> > > > > > > at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.onTimeout(TransportMasterNodeOperationAction.java:121)  
> > > > > > > at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:260)  
> > > > > > > at org.elasticsearch.timer.TimerService$ThreadedTimerTask$1.run(TimerService.java:113)  
> > > > > > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)  
> > > > > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
> > > > > > > at java.lang.Thread.run(Thread.java:619)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:15am UTC](https://discuss.elastic.co/t/problem-forming-cluster-on-ec2/3652/9 "2017-07-06T04:15:24Z")

</div>


