Hi,
I know the error message is understandable, but I'd like to understand why
and how to fix it. This is ES 0.16.0-SNAPSHOT (from master):
[2011-04-05 00:43:54,320][DEBUG][action.bulk ] [Magik]
[cuestamenos][0]: Failed to execute bulk item (index) [index
{[cuestamenos][producto][AVxe4QXAS6qm6Nx5GPPQUg], source[{"nombre":"ADVAN
CE Torre PC Chrome 8001B Carcasas PC","descripcion":"La Advance Chrome 8001B
es una torre PC Moyen Tour  robusta y elegante. Esta torre 8001B de
480W...","linkProfundo":"http://pdt.tradedoubler.com/cl
ick?a(1781229)p(15853)prod(802186777)ttid(5)url(http%3A%2F%
2Fwww.pixmania.com
%2Fes%2Fes%2F8934880%2Fart%2Fadvance%2Ftorre-pc-chrome-8001b.html%3Fsrcid%3D348%26amp%3BPartenaire%3DTD%26amp%3BCodePromo%3Do
ui)","imagen":"http://pan.fotovista.com/dev/0/6/09668260/t_09668260.jpg
","historico":1262,"cantidad":49.9,"moneda":"EUR","categorias1":["Electrónica","Hogar","Informática"],"categorias2":["Textil","Vide
ojuegos","Programas","Electrodomésticos","Menaje","Fotografía y
video","Ordenadores y componentes","Muebles","Decoración e
iluminación","Imagen y
sonido"],"categorias3":[],"tienda":"Pixmania","marca":"A
DVANCE","ean":"3700104417137","upc":"","isbn":""}]}]
org.elasticsearch.index.engine.CreateFailedEngineException: [cuestamenos][0]
Create failed for [producto#AVxe4QXAS6qm6Nx5GPPQUg]
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:245)
at
org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:276)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:139)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.access$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:331)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
/var/elasticsearch-0.16.0-SNAPSHOT/data/elasticsearch/nodes/0/indices/cuestamenos/0/index/_f7.fdt
(Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:212)
at
org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexOutput.(SimpleFSDirectory.java:180)
at
org.apache.lucene.store.NIOFSDirectory.createOutput(NIOFSDirectory.java:85)
at
org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:283)
at
org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:279)
at org.apache.lucene.index.FieldsWriter.(FieldsWriter.java:65)
at
org.apache.lucene.index.StoredFieldsWriter.initFieldsWriter(StoredFieldsWriter.java:66)
at
org.apache.lucene.index.StoredFieldsWriter.finishDocument(StoredFieldsWriter.java:144)
at
org.apache.lucene.index.StoredFieldsWriter$PerDoc.finish(StoredFieldsWriter.java:192)
at
org.apache.lucene.index.DocumentsWriter$WaitQueue.writeDocument(DocumentsWriter.java:1559)
at
org.apache.lucene.index.DocumentsWriter$WaitQueue.add(DocumentsWriter.java:1578)
at
org.apache.lucene.index.DocumentsWriter.finishDocument(DocumentsWriter.java:1155)
at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:832)
at
org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:802)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1998)
at
org.elasticsearch.index.engine.robin.RobinEngine.innerCreate(RobinEngine.java:328)
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:238)
... 8 more
Any clues?
Salu2,
Quique.