Something wrong indexing data from my couchdb


(alberthorta) #1

Hi All!,
I'm playing with some little samples and everything goes perfect, but when I try to index a large (production) database my log starts logging that :

[2011-06-07 10:57:47,616][DEBUG][action.bulk ] [Arkus] [blacklotus][2]: Failed to execute bulk item (index) [index {[blacklotus][blacklotus][ea047ae0c2dbaff50fbc5cb09361e041], source[{"site":"floraqueen.at","status":"new","floristsAssigned":[],"type":"TemporaryOrder","inabox":false,"agent":"","currency":"EUR","user_ip":"80.34.170.180","_rev":"1-4c47a51efd22976f24aaec2b318021c8","product":{"tags":{"en_GB":"","de_AT":"","en_US":"","pl_PL":"","de_DE":"","it_IT":"","es_ES":"","fr_FR":""},"internalName":"AAA - FQ3005 - Purple Haze","flags":{"05e2b06df2aba1820f64ae979da52a4d":false,"017c8bf5ea11fba9f0dc18f793d0e9a8":false,"01e2b1d49c4b0253933b5051ebea838b":false},"SKU":"FQ3005","metaDescription":{"en_GB":"","de_AT":"Schlichte Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is the ideal surprise to send a warm and stylish message from the heart.

More about this bouquet:
A round bouquet in purple, white and green, made with flowers like chrysanthemums, gerberas and greenery.

","de_DE":"Schlichte Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un elegante bouquet color porpora per stupire chi vuoi tu con un'idea super speciale.

Scopri di più su questi fiori:
Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco, contornato da fogliame verde smeraldo.

","es_ES":"Un auténtico éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su contraste entre púrpura y blanco son ideales para las personas que les gusta el color y quieran llenar su vida de sonrisas.

Conoce más a tus flores:
Sus graciosos crisantemos de diferentes colores, acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal para hacer feliz al que lo vea.
","fr_FR":"Un bouquet vibrant et chargé de mauve, de blanc et de feuilles entrelacées dans une composition sobre et élégante.

En savoir plus sur ce bouquet:
Bouquet classique violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés d'un feuillage léger.

"},"type":"Product","url":[{"de_AT":"blumenversand/purpurner-schleier-3033","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","en_US":"sending-flowers/purple-haze-3005","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"},{"en_GB":"","de_AT":"blumenversand/purpurner-schleier-3033","en_US":"sending-flowers/purple-haze-3005","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"}],"size":{"76fe76c9808d17d820e11331a237a6a4":120,"47b990b5debbccbf3ad8e286de76f493":100,"8b77da2700b50cfc15c47f44265f2ffd":140},"_rev":"44-2246a18b25fd28b8b4074da85225133b","redLotusId":"3005","attachmentsMetadata":{"site":[],"FQ3005.jpg":{"site":"","alt":{"en_GB":"","de_AT":"","pl_PL":"","en_US":"","it_IT":"","de_DE":"","es_ES":"","fr_FR":""}}},"_id":"508314f8d992da1f232ac6ffb78e3fa3","created":1300184355,"updated":1305073727,"shortDescription":{"en_GB":"","de_AT":"Schlichte Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is the ideal surprise to send a warm and stylish message from the heart.

More about this bouquet:
A round bouquet in purple, white and green, made with flowers like chrysanthemums, gerberas and greenery.

","de_DE":"Schlichte Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un elegante bouquet color porpora per stupire chi vuoi tu con un'idea super speciale.

Scopri di più su questi fiori:
Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco, contornato da fogliame verde smeraldo.

","es_ES":"Un auténtico éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su contraste entre púrpura y blanco son ideales para las personas que les gusta el color y quieran llenar su vida de sonrisas.

Conoce más a tus flores:
Sus graciosos crisantemos de diferentes colores, acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal para hacer feliz al que lo vea.
","fr_FR":"Un bouquet vibrant et chargé de mauve, de blanc et de feuilles entrelacées dans une composition sobre et élégante.

En savoir plus sur ce bouquet:
Bouquet classique violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés d'un feuillage léger.

"},"_attachments":{"big/FQ3005.jpg":{"stub":true,"length":80804,"revpos":1,"content_type":"image/jpeg"},"original/FQ3005.jpg":{"stub":true,"length":80835,"revpos":1,"content_type":"image/jpeg"},"medium/FQ3005.jpg":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"},"small/FQ3005.jpg":{"stub":true,"length":15586,"revpos":43,"content_type":"image/jpeg"}},"pageTitle":{"en_GB":"","de_AT":"Purpurner Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma Púrpura","fr_FR":"Beauté Violette"},"description":{"en_GB":"","de_AT":"Schlichte Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is the ideal surprise to send a warm and stylish message from the heart.

More about this bouquet:
A round bouquet in purple, white and green, made with flowers like chrysanthemums, gerberas and greenery.

","de_DE":"Schlichte Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un elegante bouquet color porpora per stupire chi vuoi tu con un'idea super speciale.

Scopri di più su questi fiori:
Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco, contornato da fogliame verde smeraldo.

","es_ES":"Un auténtico éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su contraste entre púrpura y blanco son ideales para las personas que les gusta el color y quieran llenar su vida de sonrisas.

Conoce más a tus flores:
Sus graciosos crisantemos de diferentes colores, acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal para hacer feliz al que lo vea.
","fr_FR":"Un bouquet vibrant et chargé de mauve, de blanc et de feuilles entrelacées dans une composition sobre et élégante.

En savoir plus sur ce bouquet:
Bouquet classique violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés d'un feuillage léger.

"},"name":{"en_GB":"","de_AT":"Purpurner Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma Púrpura","fr_FR":"Beauté Violette"},"active":true,"prices":{"76fe76c9808d17d820e11331a237a6a4":{"LV":{"otherpibox":0,"sitepibox":0,"otherpf":32.736,"sitepf":0,"sitepc":0,"otherpc":52.8}}},"floristDescription":{"en_GB":"","de_AT":"Runder Strauß, Lila, Weiß, Grün; Chrysanthemen, Gerberas, grünes Blattwerk.","pl_PL":"Bukiet na okrągło z białych i fioletowych margaretek, zielonego santini i przybrania, wykonany na podkładzie z liści aspidistry.","en_US":"Round bouquet. Purple, white, and green. Chrysanthemums, gerberas and greenery.","de_DE":"Runder Strauß, Lila, Weiß, Grün; Chrysanthemen, Gerberas, grünes Blattwerk.","it_IT":"Bouquet viola e bianco, con crisantemi, gerbere e verde di complemento.","es_ES":"Ramo redondo. Morado, blanco, y verde. Crisantemos, gerberas y verde.","fr_FR":"Bouquet classique violet, blanc et vert composé de chrysanthèmes, gerberas et feuillage léger."}},"site_country":"AT","order":10087368,"_id":"ea047ae0c2dbaff50fbc5cb09361e041","created":1305109461,"product_size":"76fe76c9808d17d820e11331a237a6a4","updated":1305109461,"_attachments":{"product/508314f8d992da1f232ac6ffb78e3fa3":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"}},"active":true,"purchase_date":1305109461,"delivery":{"delivery_country":"ES","delivery_date":1313366400},"tickets":[]}]}]
org.elasticsearch.index.mapper.MapperParsingException: Failed to parse [_id]
at org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:300)
at org.elasticsearch.index.mapper.xcontent.ObjectMapper.serializeValue(ObjectMapper.java:419)
at org.elasticsearch.index.mapper.xcontent.ObjectMapper.parse(ObjectMapper.java:323)
at org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:451)
at org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:380)
at org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:278)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:130)
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.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one [508314f8d992da1f232ac6ffb78e3fa3]
at org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:108)
at org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:35)
at org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:287)
... 12 more

Any suggestion???

PD: I search around posts and update number of maximum open files, I'm running elasticsearch as a root. (I don't know if it's important)

Thanks for that great job!


(Shay Banon) #2

Seems like the id returned from the changes stream, and the _id within the doc, differ.

On Wednesday, June 8, 2011 at 12:24 AM, alberthorta wrote:

Hi All!,
I'm playing with some little samples and everything goes perfect, but when I
try to index a large (production) database my log starts logging that :

[2011-06-07 10:57:47,616][DEBUG][action.bulk ] [Arkus]
[blacklotus][2]: Failed to execute bulk item (index) [index
{[blacklotus][blacklotus][ea047ae0c2dbaff50fbc5cb09361e041],
source[{"site":"floraqueen.at (http://floraqueen.at)","status":"new","floristsAssigned":[],"type":"TemporaryOrder","inabox":false,"agent":"","currency":"EUR","user_ip":"80.34.170.180","_rev":"1-4c47a51efd22976f24aaec2b318021c8","product":{"tags":{"en_GB":"","de_AT":"","en_US":"","pl_PL":"","de_DE":"","it_IT":"","es_ES":"","fr_FR":""},"internalName":"AAA

  • FQ3005 - Purple
    Haze","flags":{"05e2b06df2aba1820f64ae979da52a4d":false,"017c8bf5ea11fba9f0dc18f793d0e9a8":false,"01e2b1d49c4b0253933b5051ebea838b":false},"SKU":"FQ3005","metaDescription":{"en_GB":"","de_AT":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
    złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
    the ideal surprise to send a warm and stylish message from the
    heart.

    More about this bouquet:
    A round bouquet in purple,
    white and green, made with flowers like chrysanthemums, gerberas and
    greenery.

    ","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
    Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
    Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und Grün
    mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
    elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
    speciale.

    Scopri di più su questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
    contornato da fogliame verde smeraldo.

    ","es_ES":"Un auténtico
    éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su
    contraste entre púrpura y blanco son ideales para las personas que les gusta
    el color y quieran llenar su vida de sonrisas.

    Conoce más a
    tus flores:

    Sus graciosos crisantemos de diferentes colores,
    acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal
    para hacer feliz al que lo vea.
    ","fr_FR":"Un bouquet vibrant et chargé
    de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
    élégante.

    En savoir plus sur ce bouquet:
    Bouquet classique
    violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
    d'un feuillage
    léger.

    "},"type":"Product","url":[{"de_AT":"blumenversand/purpurner-schleier-3033","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","en_US":"sending-flowers/purple-haze-3005","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"},{"en_GB":"","de_AT":"blumenversand/purpurner-schleier-3033","en_US":"sending-flowers/purple-haze-3005","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"}],"size":{"76fe76c9808d17d820e11331a237a6a4":120,"47b990b5debbccbf3ad8e286de76f493":100,"8b77da2700b50cfc15c47f44265f2ffd":140},"_rev":"44-2246a18b25fd28b8b4074da85225133b","redLotusId":"3005","attachmentsMetadata":{"site":[],"FQ3005.jpg":{"site":"","alt":{"en_GB":"","de_AT":"","pl_PL":"","en_US":"","it_IT":"","de_DE":"","es_ES":"","fr_FR":""}}},"_id":"508314f8d992da1f232ac6ffb78e3fa3","created":1300184355,"updated":1305073727,"shortDescription":{"en_GB":"","de_AT":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
    złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
    the ideal surprise to send a warm and stylish message from the
    heart.

    More about this bouquet:
    A round bouquet in purple,
    white and green, made with flowers like chrysanthemums, gerberas and
    greenery.

    ","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
    Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
    Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und Grün
    mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
    elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
    speciale.

    Scopri di più su questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
    contornato da fogliame verde smeraldo.

    ","es_ES":"Un auténtico
    éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su
    contraste entre púrpura y blanco son ideales para las personas que les gusta
    el color y quieran llenar su vida de sonrisas.

    Conoce más a
    tus flores:

    Sus graciosos crisantemos de diferentes colores,
    acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal
    para hacer feliz al que lo vea.
    ","fr_FR":"Un bouquet vibrant et chargé
    de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
    élégante.

    En savoir plus sur ce bouquet:
    Bouquet classique
    violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
    d'un feuillage
    léger.

    "},"_attachments":{"big/FQ3005.jpg":{"stub":true,"length":80804,"revpos":1,"content_type":"image/jpeg"},"original/FQ3005.jpg":{"stub":true,"length":80835,"revpos":1,"content_type":"image/jpeg"},"medium/FQ3005.jpg":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"},"small/FQ3005.jpg":{"stub":true,"length":15586,"revpos":43,"content_type":"image/jpeg"}},"pageTitle":{"en_GB":"","de_AT":"Purpurner
    Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
    Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
    Púrpura","fr_FR":"Beauté
    Violette"},"description":{"en_GB":"","de_AT":"Schlichte Eleganz verkörpert
    dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von
    grünen Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und
    Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","pl_PL":"Pełen
    życia bukiet purpury, bieli i zieleni przystrojony złożonymi, zielonymi
    liśćmi.","en_US":"This perfectly balanced bouquet is the ideal surprise to
    send a warm and stylish message from the heart.

    More about this
    bouquet:
    A round bouquet in purple, white and green, made with flowers
    like chrysanthemums, gerberas and greenery.

    ","de_DE":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","it_IT":"Ecco un elegante bouquet color porpora per stupire chi
    vuoi tu con un'idea super speciale.

    Scopri di più su
    questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità
    viola, porpora e bianco, contornato da fogliame verde smeraldo.


    ","es_ES":"Un auténtico éxtasis de color y de belleza que
    encandilará a todo el mundo que lo vea. Su contraste entre púrpura y blanco
    son ideales para las personas que les gusta el color y quieran llenar su
    vida de sonrisas.

    Conoce más a tus flores:
    Sus
    graciosos crisantemos de diferentes colores, acompañados por las gerberas
    blancas, le dan el toque pícaro y tierno, ideal para hacer feliz al que lo
    vea.
    ","fr_FR":"Un bouquet vibrant et chargé de mauve, de blanc et de
    feuilles entrelacées dans une composition sobre et élégante.

    En
    savoir plus sur ce bouquet:
    Bouquet classique violet, blanc et vert
    composé de chrysanthèmes et de gerberas accompagnés d'un feuillage
    léger.

    "},"name":{"en_GB":"","de_AT":"Purpurner
    Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
    Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
    Púrpura","fr_FR":"Beauté
    Violette"},"active":true,"prices":{"76fe76c9808d17d820e11331a237a6a4":{"LV":{"otherpibox":0,"sitepibox":0,"otherpf":32.736,"sitepf":0,"sitepc":0,"otherpc":52.8}}},"floristDescription":{"en_GB":"","de_AT":"Runder
    Strauß, Lila, Weiß, Grün; Chrysanthemen, Gerberas, grünes
    Blattwerk.","pl_PL":"Bukiet na okrągło z białych i fioletowych margaretek,
    zielonego santini i przybrania, wykonany na podkładzie z liści
    aspidistry.","en_US":"Round bouquet. Purple, white, and green.
    Chrysanthemums, gerberas and greenery.","de_DE":"Runder Strauß, Lila, Weiß,
    Grün; Chrysanthemen, Gerberas, grünes Blattwerk.","it_IT":"Bouquet viola e
    bianco, con crisantemi, gerbere e verde di complemento.","es_ES":"Ramo
    redondo. Morado, blanco, y verde. Crisantemos, gerberas y
    verde.","fr_FR":"Bouquet classique violet, blanc et vert composé de
    chrysanthèmes, gerberas et feuillage
    léger."}},"site_country":"AT","order":10087368,"_id":"ea047ae0c2dbaff50fbc5cb09361e041","created":1305109461,"product_size":"76fe76c9808d17d820e11331a237a6a4","updated":1305109461,"_attachments":{"product/508314f8d992da1f232ac6ffb78e3fa3":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"}},"active":true,"purchase_date":1305109461,"delivery":{"delivery_country":"ES","delivery_date":1313366400},"tickets":[]}]}]
    org.elasticsearch.index.mapper.MapperParsingException: Failed to parse [_id]
    at
    org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:300)
    at
    org.elasticsearch.index.mapper.xcontent.ObjectMapper.serializeValue(ObjectMapper.java:419)
    at
    org.elasticsearch.index.mapper.xcontent.ObjectMapper.parse(ObjectMapper.java:323)
    at
    org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:451)
    at
    org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:380)
    at
    org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:278)
    at
    org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:130)
    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.runWorker(ThreadPoolExecutor.java:1110)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:636)
    Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided
    id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one
    [508314f8d992da1f232ac6ffb78e3fa3]
    at
    org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:108)
    at
    org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:35)
    at
    org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:287)
    ... 12 more

Any suggestion???

PD: I search around posts and update number of maximum open files, I'm
running elasticsearch as a root. (I don't know if it's important)

Thanks for that great job!

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Something-wrong-indexing-data-from-my-couchdb-tp3036916p3036916.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com (http://Nabble.com).


(alberthorta) #3

Hi Shay
I think that could be a bug because after analysing the content of that
document with _id (ea047ae0c2dbaff50fbc5cb09361e041), you can see that
includes a property called product that contains a copy of other document
with the parameter _id (508314f8d992da1f232ac6ffb78e3fa3). It's only a
guess, but can be that the indexer of the document found the second _id and
thinks that's the _id of the document...

{
"_id" : "ea047ae0c2dbaff50fbc5cb09361e041",
...
"product" : {
"_id": "508314f8d992da1f232ac6ffb78e3fa3",
...
}
}

As you can see the error says :

Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided
id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one
[508314f8d992da1f232ac6ffb78e3fa3]

Seems that he mix the two _id's of the document.

On Wed, Jun 8, 2011 at 11:22 AM, Shay Banon shay.banon@elasticsearch.comwrote:

Seems like the id returned from the changes stream, and the _id within
the doc, differ.

On Wednesday, June 8, 2011 at 12:24 AM, alberthorta wrote:

Hi All!,
I'm playing with some little samples and everything goes perfect, but when
I
try to index a large (production) database my log starts logging that :

[2011-06-07 10:57:47,616][DEBUG][action.bulk ] [Arkus]
[blacklotus][2]: Failed to execute bulk item (index) [index
{[blacklotus][blacklotus][ea047ae0c2dbaff50fbc5cb09361e041],
source[{"site":"floraqueen.at
","status":"new","floristsAssigned":[],"type":"TemporaryOrder","inabox":false,"agent":"","currency":"EUR","user_ip":"
80.34.170.180
","_rev":"1-4c47a51efd22976f24aaec2b318021c8","product":{"tags":{"en_GB":"","de_AT":"","en_US":"","pl_PL":"","de_DE":"","it_IT":"","es_ES":"","fr_FR":""},"internalName":"AAA

  • FQ3005 - Purple

Haze","flags":{"05e2b06df2aba1820f64ae979da52a4d":false,"017c8bf5ea11fba9f0dc18f793d0e9a8":false,"01e2b1d49c4b0253933b5051ebea838b":false},"SKU":"FQ3005","metaDescription":{"en_GB":"","de_AT":"Schlichte
Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder
Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
the ideal surprise to send a warm and stylish message from the
heart.

More about this bouquet:
A round bouquet in purple,
white and green, made with flowers like chrysanthemums, gerberas and
greenery.

","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün
mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
speciale.

Scopri di più su questi fiori:

Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
contornato da fogliame verde smeraldo.

","es_ES":"Un auténtico
éxtasis de color y de belleza que encandilará a todo el mundo que lo vea.
Su
contraste entre púrpura y blanco son ideales para las personas que les
gusta
el color y quieran llenar su vida de sonrisas.

Conoce más
a
tus flores:

Sus graciosos crisantemos de diferentes colores,
acompañados por las gerberas blancas, le dan el toque pícaro y tierno,
ideal
para hacer feliz al que lo vea.
","fr_FR":"Un bouquet vibrant et chargé
de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
élégante.

En savoir plus sur ce bouquet:
Bouquet classique
violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
d'un feuillage

léger.

"},"type":"Product","url":[{"de_AT":"blumenversand/purpurner-schleier-3033","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","en_US":"sending-flowers/purple-haze-3005","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"},{"en_GB":"","de_AT":"blumenversand/purpurner-schleier-3033","en_US":"sending-flowers/purple-haze-3005","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"}],"size":{"76fe76c9808d17d820e11331a237a6a4":120,"47b990b5debbccbf3ad8e286de76f493":100,"8b77da2700b50cfc15c47f44265f2ffd":140},"_rev":"44-2246a18b25fd28b8b4074da85225133b","redLotusId":"3005","attachmentsMetadata":{"site":[],"FQ3005.jpg":{"site":"","alt":{"en_GB":"","de_AT":"","pl_PL":"","en_US":"","it_IT":"","de_DE":"","es_ES":"","fr_FR":""}}},"_id":"508314f8d992da1f232ac6ffb78e3fa3","created":1300184355,"updated":1305073727,"shortDescription":{"en_GB":"","de_AT":"Schlichte
Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder
Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
the ideal surprise to send a warm and stylish message from the
heart.

More about this bouquet:
A round bouquet in purple,
white and green, made with flowers like chrysanthemums, gerberas and
greenery.

","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß und Grün
mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
speciale.

Scopri di più su questi fiori:

Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
contornato da fogliame verde smeraldo.

","es_ES":"Un auténtico
éxtasis de color y de belleza que encandilará a todo el mundo que lo vea.
Su
contraste entre púrpura y blanco son ideales para las personas que les
gusta
el color y quieran llenar su vida de sonrisas.

Conoce más
a
tus flores:

Sus graciosos crisantemos de diferentes colores,
acompañados por las gerberas blancas, le dan el toque pícaro y tierno,
ideal
para hacer feliz al que lo vea.
","fr_FR":"Un bouquet vibrant et chargé
de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
élégante.

En savoir plus sur ce bouquet:
Bouquet classique
violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
d'un feuillage

léger.

"},"_attachments":{"big/FQ3005.jpg":{"stub":true,"length":80804,"revpos":1,"content_type":"image/jpeg"},"original/FQ3005.jpg":{"stub":true,"length":80835,"revpos":1,"content_type":"image/jpeg"},"medium/FQ3005.jpg":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"},"small/FQ3005.jpg":{"stub":true,"length":15586,"revpos":43,"content_type":"image/jpeg"}},"pageTitle":{"en_GB":"","de_AT":"Purpurner
Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
Púrpura","fr_FR":"Beauté
Violette"},"description":{"en_GB":"","de_AT":"Schlichte Eleganz verkörpert
dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von
grünen Blättern.

Beschreibung:
Runder Strauß in Lila, Weiß
und
Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","pl_PL":"Pełen
życia bukiet purpury, bieli i zieleni przystrojony złożonymi, zielonymi
liśćmi.","en_US":"This perfectly balanced bouquet is the ideal surprise to
send a warm and stylish message from the heart.

More about this
bouquet:
A round bouquet in purple, white and green, made with flowers
like chrysanthemums, gerberas and greenery.

","de_DE":"Schlichte
Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
Blumen, umhüllt von grünen Blättern.

Beschreibung:
Runder
Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
Beiwerk.","it_IT":"Ecco un elegante bouquet color porpora per stupire chi
vuoi tu con un'idea super speciale.

Scopri di più su
questi fiori:

Bouquet con gerbere e crisantemi nelle tonalità
viola, porpora e bianco, contornato da fogliame verde smeraldo.


","es_ES":"Un auténtico éxtasis de color y de belleza que
encandilará a todo el mundo que lo vea. Su contraste entre púrpura y blanco
son ideales para las personas que les gusta el color y quieran llenar su
vida de sonrisas.

Conoce más a tus
flores:

Sus
graciosos crisantemos de diferentes colores, acompañados por las gerberas
blancas, le dan el toque pícaro y tierno, ideal para hacer feliz al que lo
vea.
","fr_FR":"Un bouquet vibrant et chargé de mauve, de blanc et de
feuilles entrelacées dans une composition sobre et élégante.

En
savoir plus sur ce bouquet:
Bouquet classique violet, blanc et vert
composé de chrysanthèmes et de gerberas accompagnés d'un feuillage
léger.

"},"name":{"en_GB":"","de_AT":"Purpurner
Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
Púrpura","fr_FR":"Beauté

Violette"},"active":true,"prices":{"76fe76c9808d17d820e11331a237a6a4":{"LV":{"otherpibox":0,"sitepibox":0,"otherpf":32.736,"sitepf":0,"sitepc":0,"otherpc":52.8}}},"floristDescription":{"en_GB":"","de_AT":"Runder
Strauß, Lila, Weiß, Grün; Chrysanthemen, Gerberas, grünes
Blattwerk.","pl_PL":"Bukiet na okrągło z białych i fioletowych margaretek,
zielonego santini i przybrania, wykonany na podkładzie z liści
aspidistry.","en_US":"Round bouquet. Purple, white, and green.
Chrysanthemums, gerberas and greenery.","de_DE":"Runder Strauß, Lila, Weiß,
Grün; Chrysanthemen, Gerberas, grünes Blattwerk.","it_IT":"Bouquet viola e
bianco, con crisantemi, gerbere e verde di complemento.","es_ES":"Ramo
redondo. Morado, blanco, y verde. Crisantemos, gerberas y
verde.","fr_FR":"Bouquet classique violet, blanc et vert composé de
chrysanthèmes, gerberas et feuillage

léger."}},"site_country":"AT","order":10087368,"_id":"ea047ae0c2dbaff50fbc5cb09361e041","created":1305109461,"product_size":"76fe76c9808d17d820e11331a237a6a4","updated":1305109461,"_attachments":{"product/508314f8d992da1f232ac6ffb78e3fa3":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"}},"active":true,"purchase_date":1305109461,"delivery":{"delivery_country":"ES","delivery_date":1313366400},"tickets":[]}]}]
org.elasticsearch.index.mapper.MapperParsingException: Failed to parse
[_id]
at

org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:300)
at

org.elasticsearch.index.mapper.xcontent.ObjectMapper.serializeValue(ObjectMapper.java:419)
at

org.elasticsearch.index.mapper.xcontent.ObjectMapper.parse(ObjectMapper.java:323)
at

org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:451)
at

org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:380)
at

org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:278)
at

org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:130)
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.runWorker(ThreadPoolExecutor.java:1110)
at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided
id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one
[508314f8d992da1f232ac6ffb78e3fa3]
at

org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:108)
at

org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:35)
at

org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:287)
... 12 more

Any suggestion???

PD: I search around posts and update number of maximum open files, I'm
running elasticsearch as a root. (I don't know if it's important)

Thanks for that great job!

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Something-wrong-indexing-data-from-my-couchdb-tp3036916p3036916.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
Albert Horta Llobet
albert@horta.me


(Shay Banon) #4

The id the document is indexed under is extracted from the couchdb _changes stream (under "id"), not from the document itself, so thats what gets reported by couch.

On Wednesday, June 8, 2011 at 11:48 PM, Albert Horta Llobet wrote:

Hi Shay
I think that could be a bug because after analysing the content of that document with _id (ea047ae0c2dbaff50fbc5cb09361e041), you can see that includes a property called product that contains a copy of other document with the parameter _id (508314f8d992da1f232ac6ffb78e3fa3). It's only a guess, but can be that the indexer of the document found the second _id and thinks that's the _id of the document...

{
"_id" : "ea047ae0c2dbaff50fbc5cb09361e041",
...
"product" : {
"_id": "508314f8d992da1f232ac6ffb78e3fa3",
...
}
}

As you can see the error says :

Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided
id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one
[508314f8d992da1f232ac6ffb78e3fa3]
Seems that he mix the two _id's of the document.

On Wed, Jun 8, 2011 at 11:22 AM, Shay Banon <shay.banon@elasticsearch.com (mailto:shay.banon@elasticsearch.com)> wrote:

Seems like the id returned from the changes stream, and the _id within the doc, differ.

On Wednesday, June 8, 2011 at 12:24 AM, alberthorta wrote:

Hi All!,
I'm playing with some little samples and everything goes perfect, but when I
try to index a large (production) database my log starts logging that :

[2011-06-07 10:57:47,616][DEBUG][action.bulk ] [Arkus]
[blacklotus][2]: Failed to execute bulk item (index) [index
{[blacklotus][blacklotus][ea047ae0c2dbaff50fbc5cb09361e041],
source[{"site":"floraqueen.at (http://floraqueen.at)","status":"new","floristsAssigned":[],"type":"TemporaryOrder","inabox":false,"agent":"","currency":"EUR","user_ip":"80.34.170.180 (tel:80.34.170.180)","_rev":"1-4c47a51efd22976f24aaec2b318021c8","product":{"tags":{"en_GB":"","de_AT":"","en_US":"","pl_PL":"","de_DE":"","it_IT":"","es_ES":"","fr_FR":""},"internalName":"AAA

  • FQ3005 - Purple
    Haze","flags":{"05e2b06df2aba1820f64ae979da52a4d":false,"017c8bf5ea11fba9f0dc18f793d0e9a8":false,"01e2b1d49c4b0253933b5051ebea838b":false},"SKU":"FQ3005","metaDescription":{"en_GB":"","de_AT":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
    złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
    the ideal surprise to send a warm and stylish message from the
    heart.

    More about this bouquet:
    A round bouquet in purple,
    white and green, made with flowers like chrysanthemums, gerberas and
    greenery.

    ","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
    Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
    Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und Grün
    mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
    elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
    speciale.

    Scopri di più su questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
    contornato da fogliame verde smeraldo.

    ","es_ES":"Un auténtico
    éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su
    contraste entre púrpura y blanco son ideales para las personas que les gusta
    el color y quieran llenar su vida de sonrisas.

    Conoce más a
    tus flores:

    Sus graciosos crisantemos de diferentes colores,
    acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal
    para hacer feliz al que lo vea.
    ","fr_FR":"Un bouquet vibrant et chargé
    de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
    élégante.

    En savoir plus sur ce bouquet:
    Bouquet classique
    violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
    d'un feuillage
    léger.

    "},"type":"Product","url":[{"de_AT":"blumenversand/purpurner-schleier-3033","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","en_US":"sending-flowers/purple-haze-3005","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"},{"en_GB":"","de_AT":"blumenversand/purpurner-schleier-3033","en_US":"sending-flowers/purple-haze-3005","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"}],"size":{"76fe76c9808d17d820e11331a237a6a4":120,"47b990b5debbccbf3ad8e286de76f493":100,"8b77da2700b50cfc15c47f44265f2ffd":140},"_rev":"44-2246a18b25fd28b8b4074da85225133b","redLotusId":"3005","attachmentsMetadata":{"site":[],"FQ3005.jpg":{"site":"","alt":{"en_GB":"","de_AT":"","pl_PL":"","en_US":"","it_IT":"","de_DE":"","es_ES":"","fr_FR":""}}},"_id":"508314f8d992da1f232ac6ffb78e3fa3","created":1300184355,"updated":1305073727,"shortDescription":{"en_GB":"","de_AT":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
    złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
    the ideal surprise to send a warm and stylish message from the
    heart.

    More about this bouquet:
    A round bouquet in purple,
    white and green, made with flowers like chrysanthemums, gerberas and
    greenery.

    ","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
    Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
    Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und Grün
    mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
    elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
    speciale.

    Scopri di più su questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
    contornato da fogliame verde smeraldo.

    ","es_ES":"Un auténtico
    éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su
    contraste entre púrpura y blanco son ideales para las personas que les gusta
    el color y quieran llenar su vida de sonrisas.

    Conoce más a
    tus flores:

    Sus graciosos crisantemos de diferentes colores,
    acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal
    para hacer feliz al que lo vea.
    ","fr_FR":"Un bouquet vibrant et chargé
    de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
    élégante.

    En savoir plus sur ce bouquet:
    Bouquet classique
    violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
    d'un feuillage
    léger.

    "},"_attachments":{"big/FQ3005.jpg":{"stub":true,"length":80804,"revpos":1,"content_type":"image/jpeg"},"original/FQ3005.jpg":{"stub":true,"length":80835,"revpos":1,"content_type":"image/jpeg"},"medium/FQ3005.jpg":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"},"small/FQ3005.jpg":{"stub":true,"length":15586,"revpos":43,"content_type":"image/jpeg"}},"pageTitle":{"en_GB":"","de_AT":"Purpurner
    Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
    Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
    Púrpura","fr_FR":"Beauté
    Violette"},"description":{"en_GB":"","de_AT":"Schlichte Eleganz verkörpert
    dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von
    grünen Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und
    Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","pl_PL":"Pełen
    życia bukiet purpury, bieli i zieleni przystrojony złożonymi, zielonymi
    liśćmi.","en_US":"This perfectly balanced bouquet is the ideal surprise to
    send a warm and stylish message from the heart.

    More about this
    bouquet:
    A round bouquet in purple, white and green, made with flowers
    like chrysanthemums, gerberas and greenery.

    ","de_DE":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","it_IT":"Ecco un elegante bouquet color porpora per stupire chi
    vuoi tu con un'idea super speciale.

    Scopri di più su
    questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità
    viola, porpora e bianco, contornato da fogliame verde smeraldo.


    ","es_ES":"Un auténtico éxtasis de color y de belleza que
    encandilará a todo el mundo que lo vea. Su contraste entre púrpura y blanco
    son ideales para las personas que les gusta el color y quieran llenar su
    vida de sonrisas.

    Conoce más a tus flores:
    Sus
    graciosos crisantemos de diferentes colores, acompañados por las gerberas
    blancas, le dan el toque pícaro y tierno, ideal para hacer feliz al que lo
    vea.
    ","fr_FR":"Un bouquet vibrant et chargé de mauve, de blanc et de
    feuilles entrelacées dans une composition sobre et élégante.

    En
    savoir plus sur ce bouquet:
    Bouquet classique violet, blanc et vert
    composé de chrysanthèmes et de gerberas accompagnés d'un feuillage
    léger.

    "},"name":{"en_GB":"","de_AT":"Purpurner
    Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
    Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
    Púrpura","fr_FR":"Beauté
    Violette"},"active":true,"prices":{"76fe76c9808d17d820e11331a237a6a4":{"LV":{"otherpibox":0,"sitepibox":0,"otherpf":32.736,"sitepf":0,"sitepc":0,"otherpc":52.8}}},"floristDescription":{"en_GB":"","de_AT":"Runder
    Strauß, Lila, Weiß, Grün; Chrysanthemen, Gerberas, grünes
    Blattwerk.","pl_PL":"Bukiet na okrągło z białych i fioletowych margaretek,
    zielonego santini i przybrania, wykonany na podkładzie z liści
    aspidistry.","en_US":"Round bouquet. Purple, white, and green.
    Chrysanthemums, gerberas and greenery.","de_DE":"Runder Strauß, Lila, Weiß,
    Grün; Chrysanthemen, Gerberas, grünes Blattwerk.","it_IT":"Bouquet viola e
    bianco, con crisantemi, gerbere e verde di complemento.","es_ES":"Ramo
    redondo. Morado, blanco, y verde. Crisantemos, gerberas y
    verde.","fr_FR":"Bouquet classique violet, blanc et vert composé de
    chrysanthèmes, gerberas et feuillage
    léger."}},"site_country":"AT","order":10087368,"_id":"ea047ae0c2dbaff50fbc5cb09361e041","created":1305109461,"product_size":"76fe76c9808d17d820e11331a237a6a4","updated":1305109461,"_attachments":{"product/508314f8d992da1f232ac6ffb78e3fa3":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"}},"active":true,"purchase_date":1305109461,"delivery":{"delivery_country":"ES","delivery_date":1313366400},"tickets":[]}]}]
    org.elasticsearch.index.mapper.MapperParsingException: Failed to parse [_id]
    at
    org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:300)
    at
    org.elasticsearch.index.mapper.xcontent.ObjectMapper.serializeValue(ObjectMapper.java:419)
    at
    org.elasticsearch.index.mapper.xcontent.ObjectMapper.parse(ObjectMapper.java:323)
    at
    org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:451)
    at
    org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:380)
    at
    org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:278)
    at
    org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:130)
    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.runWorker(ThreadPoolExecutor.java:1110)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:636)
    Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided
    id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one
    [508314f8d992da1f232ac6ffb78e3fa3]
    at
    org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:108)
    at
    org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:35)
    at
    org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:287)
    ... 12 more

Any suggestion???

PD: I search around posts and update number of maximum open files, I'm
running elasticsearch as a root. (I don't know if it's important)

Thanks for that great job!

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Something-wrong-indexing-data-from-my-couchdb-tp3036916p3036916.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com (http://Nabble.com).

--
Albert Horta Llobet
albert@horta.me (mailto:albert@horta.me)


(Albert Horta Llobet) #5

I belive in you but sounds terribly strange that id's in conflict appear both at the same document. I'll try to reproduce that error under clean database.

As you say "Seems like the id returned from the changes stream, and the _id within the doc, differ.". By your words I assume that obviously somebody checks the _id within the doc. Maybe that's the possible cause of error, if that check takes the second _id within the doc. (the one on product._id besides the correct one). As far as I know, couch id's are unique and I can't understand how you could ask for some id and couch return another doc with diferent id...

Albert Horta Llobet

El 09/06/2011, a las 1:25, Shay Banon shay.banon@elasticsearch.com escribió:

The id the document is indexed under is extracted from the couchdb _changes stream (under "id"), not from the document itself, so thats what gets reported by couch.
On Wednesday, June 8, 2011 at 11:48 PM, Albert Horta Llobet wrote:

Hi Shay
I think that could be a bug because after analysing the content of that document with _id (ea047ae0c2dbaff50fbc5cb09361e041), you can see that includes a property called product that contains a copy of other document with the parameter _id (508314f8d992da1f232ac6ffb78e3fa3). It's only a guess, but can be that the indexer of the document found the second _id and thinks that's the _id of the document...

{
"_id" : "ea047ae0c2dbaff50fbc5cb09361e041",
...
"product" : {
"_id": "508314f8d992da1f232ac6ffb78e3fa3",
...
}
}

As you can see the error says :

Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided
id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one
[508314f8d992da1f232ac6ffb78e3fa3]

Seems that he mix the two _id's of the document.

On Wed, Jun 8, 2011 at 11:22 AM, Shay Banon shay.banon@elasticsearch.com wrote:
Seems like the id returned from the changes stream, and the _id within the doc, differ.
On Wednesday, June 8, 2011 at 12:24 AM, alberthorta wrote:

Hi All!,
I'm playing with some little samples and everything goes perfect, but when I
try to index a large (production) database my log starts logging that :

[2011-06-07 10:57:47,616][DEBUG][action.bulk ] [Arkus]
[blacklotus][2]: Failed to execute bulk item (index) [index
{[blacklotus][blacklotus][ea047ae0c2dbaff50fbc5cb09361e041],
source[{"site":"floraqueen.at","status":"new","floristsAssigned":[],"type":"TemporaryOrder","inabox":false,"agent":"","currency":"EUR","user_ip":"80.34.170.180","_rev":"1-4c47a51efd22976f24aaec2b318021c8","product":{"tags":{"en_GB":"","de_AT":"","en_US":"","pl_PL":"","de_DE":"","it_IT":"","es_ES":"","fr_FR":""},"internalName":"AAA

  • FQ3005 - Purple
    Haze","flags":{"05e2b06df2aba1820f64ae979da52a4d":false,"017c8bf5ea11fba9f0dc18f793d0e9a8":false,"01e2b1d49c4b0253933b5051ebea838b":false},"SKU":"FQ3005","metaDescription":{"en_GB":"","de_AT":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
    złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
    the ideal surprise to send a warm and stylish message from the
    heart.

    More about this bouquet:
    A round bouquet in purple,
    white and green, made with flowers like chrysanthemums, gerberas and
    greenery.

    ","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
    Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
    Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und Grün
    mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
    elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
    speciale.

    Scopri di più su questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
    contornato da fogliame verde smeraldo.

    ","es_ES":"Un auténtico
    éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su
    contraste entre púrpura y blanco son ideales para las personas que les gusta
    el color y quieran llenar su vida de sonrisas.

    Conoce más a
    tus flores:

    Sus graciosos crisantemos de diferentes colores,
    acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal
    para hacer feliz al que lo vea.
    ","fr_FR":"Un bouquet vibrant et chargé
    de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
    élégante.

    En savoir plus sur ce bouquet:
    Bouquet classique
    violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
    d'un feuillage
    léger.

    "},"type":"Product","url":[{"de_AT":"blumenversand/purpurner-schleier-3033","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","en_US":"sending-flowers/purple-haze-3005","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"},{"en_GB":"","de_AT":"blumenversand/purpurner-schleier-3033","en_US":"sending-flowers/purple-haze-3005","pl_PL":"wysylanie-kwiatow/purpurowa-mgielka-7223","de_DE":"blumenversand/purpurner-schleier-3033","it_IT":"fiore/oscurita-regale-3047","es_ES":"enviar-flores/bruma-purpura-3061","fr_FR":"fleurs/beaute-violette-3019"}],"size":{"76fe76c9808d17d820e11331a237a6a4":120,"47b990b5debbccbf3ad8e286de76f493":100,"8b77da2700b50cfc15c47f44265f2ffd":140},"_rev":"44-2246a18b25fd28b8b4074da85225133b","redLotusId":"3005","attachmentsMetadata":{"site":[],"FQ3005.jpg":{"site":"","alt":{"en_GB":"","de_AT":"","pl_PL":"","en_US":"","it_IT":"","de_DE":"","es_ES":"","fr_FR":""}}},"_id":"508314f8d992da1f232ac6ffb78e3fa3","created":1300184355,"updated":1305073727,"shortDescription":{"en_GB":"","de_AT":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","pl_PL":"Pełen życia bukiet purpury, bieli i zieleni przystrojony
    złożonymi, zielonymi liśćmi.","en_US":"This perfectly balanced bouquet is
    the ideal surprise to send a warm and stylish message from the
    heart.

    More about this bouquet:
    A round bouquet in purple,
    white and green, made with flowers like chrysanthemums, gerberas and
    greenery.

    ","de_DE":"Schlichte Eleganz verkörpert dieser prächtige
    Strauß aus malvenfarbenen und weißen Blumen, umhüllt von grünen
    Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und Grün
    mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","it_IT":"Ecco un
    elegante bouquet color porpora per stupire chi vuoi tu con un'idea super
    speciale.

    Scopri di più su questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità viola, porpora e bianco,
    contornato da fogliame verde smeraldo.

    ","es_ES":"Un auténtico
    éxtasis de color y de belleza que encandilará a todo el mundo que lo vea. Su
    contraste entre púrpura y blanco son ideales para las personas que les gusta
    el color y quieran llenar su vida de sonrisas.

    Conoce más a
    tus flores:

    Sus graciosos crisantemos de diferentes colores,
    acompañados por las gerberas blancas, le dan el toque pícaro y tierno, ideal
    para hacer feliz al que lo vea.
    ","fr_FR":"Un bouquet vibrant et chargé
    de mauve, de blanc et de feuilles entrelacées dans une composition sobre et
    élégante.

    En savoir plus sur ce bouquet:
    Bouquet classique
    violet, blanc et vert composé de chrysanthèmes et de gerberas accompagnés
    d'un feuillage
    léger.

    "},"_attachments":{"big/FQ3005.jpg":{"stub":true,"length":80804,"revpos":1,"content_type":"image/jpeg"},"original/FQ3005.jpg":{"stub":true,"length":80835,"revpos":1,"content_type":"image/jpeg"},"medium/FQ3005.jpg":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"},"small/FQ3005.jpg":{"stub":true,"length":15586,"revpos":43,"content_type":"image/jpeg"}},"pageTitle":{"en_GB":"","de_AT":"Purpurner
    Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
    Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
    Púrpura","fr_FR":"Beauté
    Violette"},"description":{"en_GB":"","de_AT":"Schlichte Eleganz verkörpert
    dieser prächtige Strauß aus malvenfarbenen und weißen Blumen, umhüllt von
    grünen Blättern.

    Beschreibung:
    Runder Strauß in Lila, Weiß und
    Grün mit Chrysanthemen und Gerbera sowie grünem Beiwerk.","pl_PL":"Pełen
    życia bukiet purpury, bieli i zieleni przystrojony złożonymi, zielonymi
    liśćmi.","en_US":"This perfectly balanced bouquet is the ideal surprise to
    send a warm and stylish message from the heart.

    More about this
    bouquet:
    A round bouquet in purple, white and green, made with flowers
    like chrysanthemums, gerberas and greenery.

    ","de_DE":"Schlichte
    Eleganz verkörpert dieser prächtige Strauß aus malvenfarbenen und weißen
    Blumen, umhüllt von grünen Blättern.

    Beschreibung:
    Runder
    Strauß in Lila, Weiß und Grün mit Chrysanthemen und Gerbera sowie grünem
    Beiwerk.","it_IT":"Ecco un elegante bouquet color porpora per stupire chi
    vuoi tu con un'idea super speciale.

    Scopri di più su
    questi fiori:

    Bouquet con gerbere e crisantemi nelle tonalità
    viola, porpora e bianco, contornato da fogliame verde smeraldo.


    ","es_ES":"Un auténtico éxtasis de color y de belleza que
    encandilará a todo el mundo que lo vea. Su contraste entre púrpura y blanco
    son ideales para las personas que les gusta el color y quieran llenar su
    vida de sonrisas.

    Conoce más a tus flores:
    Sus
    graciosos crisantemos de diferentes colores, acompañados por las gerberas
    blancas, le dan el toque pícaro y tierno, ideal para hacer feliz al que lo
    vea.
    ","fr_FR":"Un bouquet vibrant et chargé de mauve, de blanc et de
    feuilles entrelacées dans une composition sobre et élégante.

    En
    savoir plus sur ce bouquet:
    Bouquet classique violet, blanc et vert
    composé de chrysanthèmes et de gerberas accompagnés d'un feuillage
    léger.

    "},"name":{"en_GB":"","de_AT":"Purpurner
    Schleier","pl_PL":"Purpurowa Mgiełka","en_US":"Purple
    Haze","de_DE":"Purpurner Schleier","it_IT":"Oscurità Regale","es_ES":"Bruma
    Púrpura","fr_FR":"Beauté
    Violette"},"active":true,"prices":{"76fe76c9808d17d820e11331a237a6a4":{"LV":{"otherpibox":0,"sitepibox":0,"otherpf":32.736,"sitepf":0,"sitepc":0,"otherpc":52.8}}},"floristDescription":{"en_GB":"","de_AT":"Runder
    Strauß, Lila, Weiß, Grün; Chrysanthemen, Gerberas, grünes
    Blattwerk.","pl_PL":"Bukiet na okrągło z białych i fioletowych margaretek,
    zielonego santini i przybrania, wykonany na podkładzie z liści
    aspidistry.","en_US":"Round bouquet. Purple, white, and green.
    Chrysanthemums, gerberas and greenery.","de_DE":"Runder Strauß, Lila, Weiß,
    Grün; Chrysanthemen, Gerberas, grünes Blattwerk.","it_IT":"Bouquet viola e
    bianco, con crisantemi, gerbere e verde di complemento.","es_ES":"Ramo
    redondo. Morado, blanco, y verde. Crisantemos, gerberas y
    verde.","fr_FR":"Bouquet classique violet, blanc et vert composé de
    chrysanthèmes, gerberas et feuillage
    léger."}},"site_country":"AT","order":10087368,"_id":"ea047ae0c2dbaff50fbc5cb09361e041","created":1305109461,"product_size":"76fe76c9808d17d820e11331a237a6a4","updated":1305109461,"_attachments":{"product/508314f8d992da1f232ac6ffb78e3fa3":{"stub":true,"length":23349,"revpos":1,"content_type":"image/jpeg"}},"active":true,"purchase_date":1305109461,"delivery":{"delivery_country":"ES","delivery_date":1313366400},"tickets":[]}]}]
    org.elasticsearch.index.mapper.MapperParsingException: Failed to parse [_id]
    at
    org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:300)
    at
    org.elasticsearch.index.mapper.xcontent.ObjectMapper.serializeValue(ObjectMapper.java:419)
    at
    org.elasticsearch.index.mapper.xcontent.ObjectMapper.parse(ObjectMapper.java:323)
    at
    org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:451)
    at
    org.elasticsearch.index.mapper.xcontent.XContentDocumentMapper.parse(XContentDocumentMapper.java:380)
    at
    org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:278)
    at
    org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:130)
    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.runWorker(ThreadPoolExecutor.java:1110)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:636)
    Caused by: org.elasticsearch.index.mapper.MapperParsingException: Provided
    id [ea047ae0c2dbaff50fbc5cb09361e041] does not match the content one
    [508314f8d992da1f232ac6ffb78e3fa3]
    at
    org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:108)
    at
    org.elasticsearch.index.mapper.xcontent.IdFieldMapper.parseCreateField(IdFieldMapper.java:35)
    at
    org.elasticsearch.index.mapper.xcontent.AbstractFieldMapper.parse(AbstractFieldMapper.java:287)
    ... 12 more

Any suggestion???

PD: I search around posts and update number of maximum open files, I'm
running elasticsearch as a root. (I don't know if it's important)

Thanks for that great job!

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Something-wrong-indexing-data-from-my-couchdb-tp3036916p3036916.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
Albert Horta Llobet
albert@horta.me


(fashionalwallet) #6
  • deleted -

(system) #7