# Recover Datafile on tlog file missing -OS Windows -

**URL:** https://discuss.elastic.co/t/recover-datafile-on-tlog-file-missing-os-windows/94187
**Category:** Elasticsearch
**Created:** [July 22, 2017, 3:32am UTC](https://discuss.elastic.co/t/recover-datafile-on-tlog-file-missing-os-windows/94187 "2017-07-22T03:32:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Danny\_Crossby](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danny_crossby/32/18527_2.png) [@Danny\_Crossby](https://discuss.elastic.co/u/Danny_Crossby)
#### Post date: [July 22, 2017, 3:32am UTC](https://discuss.elastic.co/t/recover-datafile-on-tlog-file-missing-os-windows/94187/1 "2017-07-22T03:32:11Z")

</div>

Please help as im new to this but trying to learn  
[2017-07-21 06:12:53,820][INFO][node] [Aleksander Lukin] initialized  
[2017-07-21 06:12:53,820][INFO][node] [Aleksander Lukin] starting ...  
[2017-07-21 06:12:54,179][INFO][transport] [Aleksander Lukin] publish\_address {127.0.0.1:9300}, bound\_addresses {127.0.0.1:9300}, {[::1]:9300}  
[2017-07-21 06:12:54,179][INFO][discovery] [Aleksander Lukin] elasticsearch/GgBCjLaoT0C0PdTh0I6lag  
[2017-07-21 06:12:58,273][INFO][cluster.service] [Aleksander Lukin] new\_master {Aleksander Lukin}{GgBCjLaoT0C0PdTh0I6lag}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected\_as\_master, [0] joins received)  
[2017-07-21 06:12:58,491][INFO][gateway] [Aleksander Lukin] recovered [1] indices into cluster\_state  
[2017-07-21 06:12:58,773][INFO][http] [Aleksander Lukin] publish\_address {127.0.0.1:9200}, bound\_addresses {127.0.0.1:9200}, {[::1]:9200}  
[2017-07-21 06:12:58,788][INFO][node] [Aleksander Lukin] started  
[2017-07-21 06:12:59,366][WARN][indices.cluster] [Aleksander Lukin] [[99ats][0]] marking and sending shard failed due to [failed recovery]  
[99ats][[99ats][0]] IndexShardRecoveryException[failed to recovery from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[C:\elasticsearch-2.2.0\data\elasticsearch\nodes\0\indices\99ats\0\translog\translog-52.tlog];  
at org.elasticsearch.index.shard.StoreRecoveryService.recoverFromStore(StoreRecoveryService.java:254)  
at org.elasticsearch.index.shard.StoreRecoveryService.access$100(StoreRecoveryService.java:56)  
at org.elasticsearch.index.shard.StoreRecoveryService$1.run(StoreRecoveryService.java:129)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)  
Caused by: [99ats][[99ats][0]] EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[C:\elasticsearch-2.2.0\data\elasticsearch\nodes\0\indices\99ats\0\translog\translog-52.tlog];  
at org.elasticsearch.index.engine.InternalEngine.(InternalEngine.java:156)  
at org.elasticsearch.index.engine.InternalEngineFactory.newReadWriteEngine(InternalEngineFactory.java:25)  
at org.elasticsearch.index.shard.IndexShard.newEngine(IndexShard.java:1450)  
at org.elasticsearch.index.shard.IndexShard.createNewEngine(IndexShard.java:1434)  
at org.elasticsearch.index.shard.IndexShard.internalPerformTranslogRecovery(IndexShard.java:925)  
at org.elasticsearch.index.shard.IndexShard.performTranslogRecovery(IndexShard.java:897)  
at org.elasticsearch.index.shard.StoreRecoveryService.recoverFromStore(StoreRecoveryService.java:245)  
... 5 more  
Caused by: java.nio.file.NoSuchFileException: C:\elasticsearch-2.2.0\data\elasticsearch\nodes\0\indices\99ats\0\translog\translog-52.tlog  
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)  
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)  
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)  
at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(WindowsFileSystemProvider.java:115)  
at java.nio.channels.FileChannel.open(FileChannel.java:287)  
at java.nio.channels.FileChannel.open(FileChannel.java:335)  
at org.elasticsearch.index.translog.Translog.openReader(Translog.java:374)  
at org.elasticsearch.index.translog.Translog.recoverFromFiles(Translog.java:334)  
at org.elasticsearch.index.translog.Translog.(Translog.java:179)  
at org.elasticsearch.index.engine.InternalEngine.openTranslog(InternalEngine.java:209)  
at org.elasticsearch.index.engine.InternalEngine.(InternalEngine.java:152)  
... 11 more  
[2017-07-21 06:12:59,366][WARN][cluster.action.shard] [Aleksander Lukin] [99ats][0] received shard failed for [99ats][0], node[GgBCjLaoT0C0PdTh0I6lag], [P], v[55], s[INITIALIZING], a[id=BVcgqxdjTo6ntbxnsKAkYQ], unassigned\_info[[reason=CLUSTER\_RECOVERED], at[2017-07-21T06:12:58.304Z]], indexUUID [UsZAoQydSNaQ4XI3wROOYg], message [failed recovery], failure [IndexShardRecoveryException[failed to recovery from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[C:\elasticsearch-2.2.0\data\elasticsearch\nodes\0\indices\99ats\0\translog\translog-52.tlog]; ]  
[99ats][[99ats][0]] IndexShardRecoveryException[failed to recovery from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[C:\elasticsearch-2.2.0\data\elasticsearch\nodes\0\indices\99ats\0\translog\translog-52.tlog];  
at org.elasticsearch.index.shard.StoreRecoveryService.recoverFromStore(StoreRecoveryService.java:254)  
at org.elasticsearch.index.shard.StoreRecoveryService.access$100(StoreRecoveryService.java:56)  
at org.elasticsearch.index.shard.StoreRecoveryService$1.run(StoreRecoveryService.java:129)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)  
Caused by: [99ats][[99ats][0]] EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[C:\elasticsearch-2.2.0\data\elasticsearch\nodes\0\indices\99ats\0\translog\translog-52.tlog];  
at org.elasticsearch.index.engine.InternalEngine.(InternalEngine.java:156)  
at org.elasticsearch.index.engine.InternalEngineFactory.newReadWriteEngine(InternalEngineFactory.java:25)  
at org.elasticsearch.index.shard.IndexShard.newEngine(IndexShard.java:1450)  
at org.elasticsearch.index.shard.IndexShard.createNewEngine(IndexShard.java:1434)  
at org.elasticsearch.index.shard.IndexShard.internalPerformTranslogRecovery(IndexShard.java:925)  
at org.elasticsearch.index.shard.IndexShard.performTranslogRecovery(IndexShard.java:897)  
at org.elasticsearch.index.shard.StoreRecoveryService.recoverFromStore(StoreRecoveryService.java:245)  
... 5 more

---

<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: [August 19, 2017, 3:32am UTC](https://discuss.elastic.co/t/recover-datafile-on-tlog-file-missing-os-windows/94187/2 "2017-08-19T03:32:43Z")

</div>

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