New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switched back to using 1.35, but getting Lucene NoSuchDirectoryException: pointing at directory under 1.4 install now deleted. #8567
Comments
Hello Analect, I'm facing some performance issue with 1.4 version of Elasticsearch. So I was wondering if I should rollback the installation. If this is the reason for your exception, you have two choices :
Keep us in touch. Good luck. |
@ZeAleks |
@s1monw No, I make sure I only have a single version running at any time to avoid any possibility of conflicts. For the 1.4 version, because I was having a problem getting that running again (I can't recall the detail .. but it might have been something related to the river_mongodb too), I ended up deleting the elasticsearch folder under /data, in expectation that this would clear things up and allow me to start with a new blank database. It obviously hadn't the desired effect ... and then I had this related problem in 1.3.5, where it was looking for a _river definition in that folder I had deleted under the 1.4 installation ... eventhough I had only installed 1.3.5 and hadn't even added any mappings to it yet ... and certainly not any _river mappings. |
@s1monw This is odd. However, 'head' is not working ... for this reason, it appears: What I find really odd though, is that when I try to navigate to 'head' (not yet fixing it as per the link above), I still get a reference to a _river (see last line of logs below) ... eventhough on this new installation of version 1.4, the only plugin I have installed is 'head'. [2014-11-20 08:06:13,551][INFO ][node ] [Louise Mason] version[1.4.0], pid[8512], build[bc94bd8/2014-11-05T14:26:12Z] |
@s1monw |
@s1monw |
@Analect you are definitely running more than one node:
and they're running on the same machine. You can see that this new node started with ports 9301/9201, not 9300/9200 I suggest you do a |
My ES installation is just a single node on localhost.
I've been experimenting (more like grinding teeth) with both mongodb_river and mongo-connector to try to get attachments/files indexed into ES. All this was previously working with ES 1.3.1 and Mongo 2.4.11. Tried getting it running using a ES 1.4.0 / Mongo 2.6.5 combination, but facing same issues as reported here: richardwilly98/elasticsearch-river-mongodb#412
Then tried moving back to ES 1.3.5 with requisite installs for mapper-attachment and river_mongodb, but now not even able to open the 'head' plugin (although I can see that ES has started). Part of the error is reproduced below. Why would an ES 1.3.5 installation reference a _river from my ES 1.4.0 data directory? I shut down the mongodb replicaset thinking that maybe that was the source of the problem ... but ES 1.3.5 is still not available to the head plugin because of this lucene NoSuchDirectoryException.
Any thoughts? Thanks.
[2014-11-20 04:38:22,503][DEBUG][action.admin.cluster.node.stats] [Diamond Lil] failed to execute on node [V3oubzV6THmie2DR5LSReg]
org.elasticsearch.transport.RemoteTransportException: [DJ][inet[/10.211.55.6:9300]][cluster/nodes/stats/n]
Caused by: org.elasticsearch.ElasticsearchException: io exception while building 'store stats'
at org.elasticsearch.index.shard.service.InternalIndexShard.storeStats(InternalIndexShard.java:542)
at org.elasticsearch.action.admin.indices.stats.CommonStats.(CommonStats.java:134)
at org.elasticsearch.action.admin.indices.stats.ShardStats.(ShardStats.java:49)
at org.elasticsearch.indices.InternalIndicesService.stats(InternalIndicesService.java:212)
at org.elasticsearch.node.service.NodeService.stats(NodeService.java:156)
at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(TransportNodesStatsAction.java:96)
at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(TransportNodesStatsAction.java:44)
at org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:278)
at org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:269)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:275)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.lucene.store.NoSuchDirectoryException: directory '/home/mccoole/Development/Tools/ES/elasticsearch-1.4.0/data/elasticsearch/nodes/0/indices/_river/0/index' does not exist
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:218)
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:242)
at org.apache.lucene.store.FileSwitchDirectory.listAll(FileSwitchDirectory.java:87)
at org.apache.lucene.store.FilterDirectory.listAll(FilterDirectory.java:48)
at org.elasticsearch.index.store.DistributorDirectory.listAll(DistributorDirectory.java:88)
at org.apache.lucene.store.FilterDirectory.listAll(FilterDirectory.java:48)
at org.elasticsearch.common.lucene.Directories.estimateSize(Directories.java:40)
at org.elasticsearch.index.store.Store.stats(Store.java:213)
at org.elasticsearch.index.shard.service.InternalIndexShard.storeStats(InternalIndexShard.java:540)
The text was updated successfully, but these errors were encountered: