Recover Datafile on tlog file missing -OS Windows -


(Danny Crossby) #1

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


(system) #2

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