# What does this exception mean?

**URL:** <https://discuss.elastic.co/t/what-does-this-exception-mean/285024>\
**Category:** Elasticsearch\
**Created:** [September 23, 2021, 6:47pm UTC](https://discuss.elastic.co/t/what-does-this-exception-mean/285024 "2021-09-23T18:47:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![linkerc](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Post date:** [September 23, 2021, 6:47pm UTC](https://discuss.elastic.co/t/what-does-this-exception-mean/285024/1 "2021-09-23T18:47:59Z")

</div>

```auto
at java.lang.Thread.run(Thread.java:835) ~[?:?]

        at org.elasticsearch.transport.InboundHandler$1.doRun(InboundHandler.java:224) ~[elasticsearch-7.3.1.jar:7.3.1]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:758) ~[elasticsearch-7.3.1.jar:7.3.1]
        at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-7.3.1.jar:7.3.1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
        at java.lang.Thread.run(Thread.java:835) ~[?:?]
Caused by: java.io.IOException: Input/output error: NIOFSIndexInput(path="/data/elasticsearch/nodes/0/indices/fIQlaITkRGeU73pEZ6upjw/0/index/_b2c.fdt")
        at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:189) ~[lucene-core-8.1.0.jar:8.1.0 dbe5ed0b2f17677ca6c904ebae919363f2d36a0a - ishan - 2019-05-09 19:34:03]
        at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:160) ~[lucene-core-8.1.0.jar:8.1.0 dbe5ed0b2f17677ca6c904ebae919363f2d36a0a - ishan - 2019-05-09 19:34:03]
        at org.elasticsearch.common.lucene.store.InputStreamIndexInput.read(InputStreamIndexInput.java:73) ~[elasticsearch-7.3.1.jar:7.3.1]

```

I'm seeing exception in the destination recovery node.  
That shard has been in "relocating" state for more than a day. The exception is quiet large so I copy & pasted the part I think might be helpful...  
And this is a primary shard so I can't do the trick to set replica\_count to 0 then back to 1.

That directory from above log has many files but doesn't contain the file \_b2c.fdt.

What does this mean? How do I recover it?

---

<div class="post-metadata">

**Author:** ![linkerc](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Post date:** [September 23, 2021, 9:16pm UTC](https://discuss.elastic.co/t/what-does-this-exception-mean/285024/2 "2021-09-23T21:16:35Z")

</div>

I fixed it by shutting down the service on the source node and the healthy replica becomes the primary and it created a new replica.

---

<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:** [October 21, 2021, 9:16pm UTC](https://discuss.elastic.co/t/what-does-this-exception-mean/285024/3 "2021-10-21T21:16:37Z")

</div>

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