# SparkSQL - all index are delete when not was enough space on ES file system

**URL:** <https://discuss.elastic.co/t/sparksql-all-index-are-delete-when-not-was-enough-space-on-es-file-system/79781>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [March 23, 2017, 4:56pm UTC](https://discuss.elastic.co/t/sparksql-all-index-are-delete-when-not-was-enough-space-on-es-file-system/79781 "2017-03-23T16:56:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eduardo\_Curonisy](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@Eduardo\_Curonisy](https://discuss.elastic.co/u/Eduardo_Curonisy)\
**Post date:** [March 23, 2017, 4:56pm UTC](https://discuss.elastic.co/t/sparksql-all-index-are-delete-when-not-was-enough-space-on-es-file-system/79781/1 "2017-03-23T16:56:30Z")

</div>

Hi,

All my data are deleted when not was enough space on ES file system.  
Is there any opction to have a checkpoint in ES for not lose the data that already have loaded?  
The filesystem keeps full space but i can't access my index and i dont see number of documentos on index list.

Thanks.

---

<div class="post-metadata">

**Author:** ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)\
**Post date:** [March 31, 2017, 6:37pm UTC](https://discuss.elastic.co/t/sparksql-all-index-are-delete-when-not-was-enough-space-on-es-file-system/79781/2 "2017-03-31T18:37:55Z")

</div>

I'm surprised this is happening as ES doesn't have a retention management pre-built in. I am expecting to see out of space than automatic deletion. Do you have a cron job, script, or curator running that manages the ES indices?

---

<div class="post-metadata">

**Author:** ![Eduardo\_Curonisy](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@Eduardo\_Curonisy](https://discuss.elastic.co/u/Eduardo_Curonisy)\
**Post date:** [March 31, 2017, 7:12pm UTC](https://discuss.elastic.co/t/sparksql-all-index-are-delete-when-not-was-enough-space-on-es-file-system/79781/3 "2017-03-31T19:12:02Z")

</div>

i dont have any manages my indexes.

---

<div class="post-metadata">

**Author:** ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)\
**Post date:** [March 31, 2017, 10:23pm UTC](https://discuss.elastic.co/t/sparksql-all-index-are-delete-when-not-was-enough-space-on-es-file-system/79781/4 "2017-03-31T22:23:19Z")

</div>

Please provide the full ES elasticsearch.log.

---

<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:** [April 28, 2017, 10:23pm UTC](https://discuss.elastic.co/t/sparksql-all-index-are-delete-when-not-was-enough-space-on-es-file-system/79781/5 "2017-04-28T22:23:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
