# What are blob keys and blob container in elasticsearch?

**URL:** <https://discuss.elastic.co/t/what-are-blob-keys-and-blob-container-in-elasticsearch/317584>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [October 27, 2022, 5:30am UTC](https://discuss.elastic.co/t/what-are-blob-keys-and-blob-container-in-elasticsearch/317584 "2022-10-27T05:30:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![selvaraj-sembulingam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/selvaraj-sembulingam/32/112482_2.png) [@selvaraj-sembulingam](https://discuss.elastic.co/u/selvaraj-sembulingam)\
**Post date:** [October 27, 2022, 5:30am UTC](https://discuss.elastic.co/t/what-are-blob-keys-and-blob-container-in-elasticsearch/317584/1 "2022-10-27T05:30:27Z")

</div>

What are blob keys and blob container in elasticsearch?

```auto
if (blobKeys.isEmpty() == false) {
                logger.warn("Could not find a readable index-N file in a non-empty shard snapshot directory [{}]"; blobContainer.path());
            }

```

What does the above piece of code mean ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 31, 2022, 2:14am UTC](https://discuss.elastic.co/t/what-are-blob-keys-and-blob-container-in-elasticsearch/317584/2 "2022-10-31T02:14:44Z")

</div>

Where did that code come from?

---

<div class="post-metadata">

**Author:** ![selvaraj-sembulingam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/selvaraj-sembulingam/32/112482_2.png) [@selvaraj-sembulingam](https://discuss.elastic.co/u/selvaraj-sembulingam)\
**Post date:** [October 31, 2022, 10:20am UTC](https://discuss.elastic.co/t/what-are-blob-keys-and-blob-container-in-elasticsearch/317584/3 "2022-10-31T10:20:00Z")

</div>

> **[Could not find a readable index-N file in a non-empty shard snapshot directory...](https://opster.com/analysis/could-not-find-a-readable-index-n-file-in-a-non-empty-shard-snapshot-directory/)**
>
> How to troubleshoot Elasticsearch/OpenSearch log "Could not find a readable index-N file in a non-empty shard snapshot directory" a detailed guide including background on ES concepts: blobstore, discovery-file, repositories, repository-azure and...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 31, 2022, 11:40pm UTC](https://discuss.elastic.co/t/what-are-blob-keys-and-blob-container-in-elasticsearch/317584/4 "2022-10-31T23:40:33Z")

</div>

Right, so it's talking about snapshots and the blob data that the repositories - s3 etc - are using.

---

<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:** [November 28, 2022, 11:40pm UTC](https://discuss.elastic.co/t/what-are-blob-keys-and-blob-container-in-elasticsearch/317584/5 "2022-11-28T23:40:53Z")

</div>

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