# Data and non-data nodes

**URL:** <https://discuss.elastic.co/t/data-and-non-data-nodes/2910>\
**Category:** Elasticsearch\
**Created:** [April 15, 2010, 10:34am UTC](https://discuss.elastic.co/t/data-and-non-data-nodes/2910 "2010-04-15T10:34:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Szymon\_Gwozdz](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Szymon\_Gwozdz](https://discuss.elastic.co/u/Szymon_Gwozdz)\
**Post date:** [April 15, 2010, 10:34am UTC](https://discuss.elastic.co/t/data-and-non-data-nodes/2910/1 "2010-04-15T10:34:35Z")

</div>

Hi!

I've launched 4 instances of ElasticSearch (on one cluster - LocalCluster).  
2 instances (test-1 and test-2) have configuration:

http:  
enabled: true

data:  
enabled: false

And 2 other instances (test-3 and test-4) have configuration:

http:  
enabled: false

data:  
enabled: true

But when I'm putting data to test-1 (using curl) I see that size of work  
directory work/LocalCluster is growing on test-1 and test-4, but in not  
growing on test-2 and test-3. Why is that? test-3 and test-4 are data nodes,  
test-1 and test-2 are non-data noded, but data seems to be stored in some  
other way. What is the explanation of that?

Regards  
Szymon Gwóźdź

---

<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:** [April 16, 2010, 10:10am UTC](https://discuss.elastic.co/t/data-and-non-data-nodes/2910/2 "2010-04-16T10:10:10Z")

</div>

The configuration to enable or disable a data node is:

node:  
data: false

(the above disables a node from holding data).

Try that and see if it works...

cheers,  
shay.banon

2010/4/15 Szymon Gwóźdź [sz.gwozdz@gmail.com](mailto:sz.gwozdz@gmail.com)

> Hi!
> 
> I've launched 4 instances of Elasticsearch (on one cluster - LocalCluster).  
> 2 instances (test-1 and test-2) have configuration:
> 
> http:  
> enabled: true
> 
> data:  
> enabled: false
> 
> And 2 other instances (test-3 and test-4) have configuration:
> 
> http:  
> enabled: false
> 
> data:  
> enabled: true
> 
> But when I'm putting data to test-1 (using curl) I see that size of work  
> directory work/LocalCluster is growing on test-1 and test-4, but in not  
> growing on test-2 and test-3. Why is that? test-3 and test-4 are data nodes,  
> test-1 and test-2 are non-data noded, but data seems to be stored in some  
> other way. What is the explanation of that?
> 
> Regards  
> Szymon Gwóźdź

---

<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:24am UTC](https://discuss.elastic.co/t/data-and-non-data-nodes/2910/3 "2017-07-06T04:24:37Z")

</div>

Closed on July 6, 2017, 4:24am UTC


