# Where is the data stored? ElasticSearch YARN

**URL:** <https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279>\
**Category:** Elasticsearch\
**Created:** [December 16, 2014, 4:06pm UTC](https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279 "2014-12-16T16:06:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafael\_Pellon](https://avatars.discourse-cdn.com/v4/letter/r/8797f3/32.png) [@Rafael\_Pellon](https://discuss.elastic.co/u/Rafael_Pellon)\
**Post date:** [December 16, 2014, 4:06pm UTC](https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279/1 "2014-12-16T16:06:21Z")

</div>

Hi

We are testing elasticsearch in a HDP environment using YARN.

We follow the instructions in the link  
[http://www.elasticsearch.org/blog/elasticsearch-yarn-and-ssl/](http://www.elasticsearch.org/blog/elasticsearch-yarn-and-ssl/) and upload a  
lot of data but....

Where is the data stored? Is it in local file system / HDFS? Is it  
persisted? What is the default configuration of ES-yarn version? In the  
standalone version without using Yarn, you could configure all of this in  
the config file.

Any information about this, will be useful.

Thanks in advance,  
Rafa

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/28fc11fb-b55b-4664-9767-f893a6af0738%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/28fc11fb-b55b-4664-9767-f893a6af0738%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [December 16, 2014, 4:35pm UTC](https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279/2 "2014-12-16T16:35:18Z")

</div>

I recommend reading the project documentation [1]; there's a dedicated section that covers  
storage [2].

[1] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/master/index.html)  
[2] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/master/ey-setup.html#_storage)

On 12/16/14 6:06 PM, Rafael Pellon wrote:

> Hi
> 
> We are testing elasticsearch in a HDP environment using YARN.
> 
> We follow the instructions in the link [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/elasticsearch-yarn-and-ssl/) and upload a lot  
> of data but....
> 
> Where is the data stored? Is it in local file system / HDFS? Is it persisted? What is the default configuration of  
> ES-yarn version? In the standalone version without using Yarn, you could configure all of this in the config file.
> 
> Any information about this, will be useful.
> 
> Thanks in advance,  
> Rafa
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/28fc11fb-b55b-4664-9767-f893a6af0738%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/28fc11fb-b55b-4664-9767-f893a6af0738%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/28fc11fb-b55b-4664-9767-f893a6af0738%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/28fc11fb-b55b-4664-9767-f893a6af0738%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Costin

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

---

<div class="post-metadata">

**Author:** ![Dan\_Cieslak](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@Dan\_Cieslak](https://discuss.elastic.co/u/Dan_Cieslak)\
**Post date:** [January 17, 2015, 4:35pm UTC](https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279/3 "2015-01-17T16:35:07Z")

</div>

The section in

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

does  
not really describe _how_ to configure the different options, just that  
they are available. From the page:

Each container can currently access its local storage - with proper

> configuration this can be kept outside the disposable container folder thus  
> allowing the data to live between restarts. This is the recommended  
> approach as it offers the best performance and due to Elasticsearch itself,  
> redundancy as well (through replicas).

But below it says:

If no storage is configured, out of the box Elasticsearch will use its

> container storage which means when the container is disposed, so is its  
> data. In other words, between restarts any existing data is destroyed.

What is _not_ described is how to configure storage, especially for the  
"recommended approach" where data would live between restarts

So how would one configure elasticsearch-yarn for the recommended approach?  
Does one make changes in the elasticsearch.zip's config files? If so, what  
settings?

Thanks  
Dan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d1c1cf45-853f-402b-a49a-6bd8c32bd876%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d1c1cf45-853f-402b-a49a-6bd8c32bd876%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [January 19, 2015, 3:11pm UTC](https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279/4 "2015-01-19T15:11:37Z")

</div>

Installing a plugin or changing a configuration means restarting each node and since YARN is not persistent, one would  
have to handle this outside.  
es-yarn could potentially address that however at that point, it becomes more a puppet/chef feature which is outside the  
scope of the project.  
The simplest solution would be to simply modify the elasticsearch.zip that you are using as that one would be installed  
on each node - whether it's a configuration  
or installing a plugin, as long as its part of the zip, it will be distributed across each node.

On 1/17/15 6:35 PM, Dan Cieslak wrote:

> The section in [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/master/ey-setup.html#_storage) does  
> not really describe _how_ to configure the different options, just that they are available. From the page:
> 
> ```
> Each container can currently access its local storage - with proper configuration this can be kept outside the
> disposable container folder thus allowing the data to live between restarts. This is the recommended approach as it
> offers the best performance and due to Elasticsearch itself, redundancy as well (through replicas).
> 
> ```
> 
> But below it says:
> 
> ```
> If no storage is configured, out of the box Elasticsearch will use its container storage which means when the
> container is disposed, so is its data. In other words, between restarts any existing data is destroyed.
> 
> ```
> 
> What is _not_ described is how to configure storage, especially for the "recommended approach" where data would live  
> between restarts
> 
> So how would one configure elasticsearch-yarn for the recommended approach? Does one make changes in the  
> elasticsearch.zip's config files? If so, what settings?
> 
> Thanks  
> Dan
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/d1c1cf45-853f-402b-a49a-6bd8c32bd876%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d1c1cf45-853f-402b-a49a-6bd8c32bd876%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/d1c1cf45-853f-402b-a49a-6bd8c32bd876%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/d1c1cf45-853f-402b-a49a-6bd8c32bd876%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Costin

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

---

<div class="post-metadata">

**Author:** ![tushar.hadoop](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@tushar.hadoop](https://discuss.elastic.co/u/tushar.hadoop)\
**Post date:** [April 20, 2016, 7:53am UTC](https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279/5 "2016-04-20T07:53:19Z")

</div>

Hi Costin,

Do you have any tutorial regarding elasticsearch-YARN ?  
I need to know how kibana can connect to ES-YARN ?  
Documentation is not clear to me! 😒

Regards,  
Tushar

---

<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 5, 2017, 10:57pm UTC](https://discuss.elastic.co/t/where-is-the-data-stored-elasticsearch-yarn/21279/6 "2017-07-05T22:57:47Z")

</div>


