Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 KB | None | 0 0
  1. [2013-07-29 14:24:04,718][WARN ][indices.cluster ] [Dansen Macabre] [blog][2] failed to start shard
  2. org.elasticsearch.indices.recovery.RecoveryFailedException: [blog][2]: Recovery failed from [Blob][UCFJzrBxQHOYOohF6scQMw][inet[/10.1.10.52:9300]] into [Dansen Macabre][-GzBNHLJSc2Do5DNTsn1jw][inet[/10.1.10.52:9301]]
  3. at org.elasticsearch.indices.recovery.RecoveryTarget.doRecovery(RecoveryTarget.java:293)
  4. at org.elasticsearch.indices.recovery.RecoveryTarget.access$300(RecoveryTarget.java:62)
  5. at org.elasticsearch.indices.recovery.RecoveryTarget$2.run(RecoveryTarget.java:163)
  6. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  7. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  8. at java.lang.Thread.run(Thread.java:724)
  9. Caused by: org.elasticsearch.transport.RemoteTransportException: [Blob][inet[/10.1.10.52:9300]][index/shard/recovery/startRecovery]
  10. Caused by: org.elasticsearch.index.engine.RecoveryEngineException: [blog][2] Phase[1] Execution failed
  11. at org.elasticsearch.index.engine.robin.RobinEngine.recover(RobinEngine.java:1123)
  12. at org.elasticsearch.index.shard.service.InternalIndexShard.recover(InternalIndexShard.java:526)
  13. at org.elasticsearch.indices.recovery.RecoverySource.recover(RecoverySource.java:116)
  14. at org.elasticsearch.indices.recovery.RecoverySource.access$1600(RecoverySource.java:60)
  15. at org.elasticsearch.indices.recovery.RecoverySource$StartRecoveryTransportRequestHandler.messageReceived(RecoverySource.java:328)
  16. at org.elasticsearch.indices.recovery.RecoverySource$StartRecoveryTransportRequestHandler.messageReceived(RecoverySource.java:314)
  17. at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:265)
  18. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  19. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  20. at java.lang.Thread.run(Thread.java:724)
  21. Caused by: org.elasticsearch.indices.recovery.RecoverFilesRecoveryException: [blog][2] Failed to transfer [25] files with total size of [3.7kb]
  22. at org.elasticsearch.indices.recovery.RecoverySource$1.phase1(RecoverySource.java:226)
  23. at org.elasticsearch.index.engine.robin.RobinEngine.recover(RobinEngine.java:1116)
  24. ... 9 more
  25. Caused by: java.io.FileNotFoundException: /Users/CiC/BigData/elasticsearch-0.90.2/data/elasticsearch/nodes/0/indices/blog/2/index/_1_es090_0.doc (No such file or directory)
  26. at java.io.RandomAccessFile.open(Native Method)
  27. at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
  28. at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:410)
  29. at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:123)
  30. at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:80)
  31. at org.apache.lucene.store.RateLimitedFSDirectory.openInput(RateLimitedFSDirectory.java:99)
  32. at org.elasticsearch.index.store.Store.openInputRaw(Store.java:271)
  33. at org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:171)
  34. ... 3 more
  35.  
  36. {
  37. "ok" : true,
  38. "status" : 200,
  39. "name" : "Blob",
  40. "version" : {
  41. "number" : "0.90.2",
  42. "snapshot_build" : false,
  43. "lucene_version" : "4.3.1"
  44. },
  45. "tagline" : "You Know, for Search"
  46. }
  47.  
  48. curl -XPOST 10.1.10.52:9200/_shutdown
  49.  
  50. In windows stop all the services. I mean Elastic search ,Kibana ,Logstash and beats if any.
  51.  
  52. I installed them following http://robwillis.info/2016/05/installing-elasticsearch-logstash-and-kibana-elk-on-windows-server-2012-r2/ . Here he has explained the instaling steps very beautifully. Thanks A Lot.
  53.  
  54. Now to unistal I used the following method.
  55.  
  56.  
  57. PS C:windowssystem32> PowerShell.exe -ExecutionPolicy UnRestricted -File C:ELKStackfilebeat-5.6.3-windows-x86_64un
  58. install-service-filebeat.ps1
  59.  
  60.  
  61. __GENUS : 2
  62. __CLASS : __PARAMETERS
  63. __SUPERCLASS :
  64. __DYNASTY : __PARAMETERS
  65. __RELPATH :
  66. __PROPERTY_COUNT : 1
  67. __DERIVATION : {}
  68. __SERVER :
  69. __NAMESPACE :
  70. __PATH :
  71. ReturnValue : 0
  72.  
  73.  
  74. PS C:windowssystem32> Invoke-Expression -command "C:ELKStacknssm-2.24win64nssm remove Kibana"
  75. Service "Kibana" removed successfully!
  76.  
  77. PS C:windowssystem32> Invoke-Expression -command "C:ELKStacknssm-2.24win64nssm remove logstash"
  78. Service "Logstash" removed successfully!
  79.  
  80. PS C:windowssystem32> Invoke-Expression -command "C:ELKStackelasticsearch-5.6.3binelasticsearch-service.bat remove"
  81. The service 'elasticsearch-service-x64' has been removed`enter code here`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement