From issues-return-38452-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Sun Jan 28 20:40:07 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 25ED618064F for ; Sun, 28 Jan 2018 20:40:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 15D30160C43; Sun, 28 Jan 2018 19:40:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3597D160C20 for ; Sun, 28 Jan 2018 20:40:06 +0100 (CET) Received: (qmail 66120 invoked by uid 500); 28 Jan 2018 19:40:05 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 66109 invoked by uid 99); 28 Jan 2018 19:40:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jan 2018 19:40:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EDF461A1F12 for ; Sun, 28 Jan 2018 19:40:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qggZy0pQcYr6 for ; Sun, 28 Jan 2018 19:40:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 13F5D5FB5B for ; Sun, 28 Jan 2018 19:40:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C8B6BE019B for ; Sun, 28 Jan 2018 19:40:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 19C1D240EE for ; Sun, 28 Jan 2018 19:40:00 +0000 (UTC) Date: Sun, 28 Jan 2018 19:40:00 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-5582) Incompatible Jackson's versions in camel-jackson and decanter elasticsearch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-5582?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-5582: ---------------------------------------- Fix Version/s: decanter-2.0.0 > Incompatible Jackson's versions in camel-jackson and decanter elasticsear= ch > -------------------------------------------------------------------------= -- > > Key: KARAF-5582 > URL: https://issues.apache.org/jira/browse/KARAF-5582 > Project: Karaf > Issue Type: Bug > Components: decanter > Affects Versions: decanter-1.4.0 > Reporter: Vadim Ryzhov > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Major > Fix For: decanter-2.0.0 > > Attachments: kibana-error.png > > > When install both camel-jackson 2.20.1 and decanter 1.4.0 elasticseach, i= n log appears error: > java.lang.NoSuchMethodError: com.fasterxml.jackson.dataformat.smile.Smile= Generator.getOutputContext()Lcom/fasterxml/jackson/core/json/JsonWriteConte= xt; > This config runs fine: > {code:java} > karaf@root()> bundle:list > START LEVEL 100 , List Threshold: 50 > ID | State | Lvl | Version | Name > ----+--------+-----+--------------+--------------------------------------= ----------------------------------------------- > 29 | Active | 80 | 4.1.4 | Apache Karaf :: OSGi Services :: Event > 52 | Active | 80 | 2.6.3 | Jackson-annotations > 53 | Active | 80 | 2.6.3 | Jackson-core > 54 | Active | 80 | 2.6.3 | jackson-databind > 55 | Active | 80 | 2.6.3 | Jackson-dataformat-Smile > 56 | Active | 80 | 2.6.3 | Jackson-dataformat-YAML > 57 | Active | 80 | 18.0.0 | Guava: Google Core Libraries for Java > 58 | Active | 80 | 1.0.2 | Compress-LZF > 68 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Elasticsearch 2.x > 74 | Active | 80 | 2.2.0.1 | Apache ServiceMix :: Bundles :: elasticsearc= h > 104 | Active | 80 | 3.10.5.Final | Netty > 115 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Kibana 4.x > 116 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: API > 117 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Appender :: Elast= icsearch Native 2.x > 118 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Marshaller :: Jso= n > 119 | Active | 80 | 1.0.4 | JSR 353 (JSON Processing) Default Provider > 120 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Collector :: Log > 121 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Collector :: JMX > {code} > After=C2=A0installing camel-jackson feature jackson bundles version updat= ed to 2.8.10: > {code:java} > karaf@root()> feature:repo-add camel 2.20.1 > Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.20.1/xml/fea= tures > karaf@root()> feature:install camel-jackson > karaf@root()> list > START LEVEL 100 , List Threshold: 50 > ID | State | Lvl | Version | Name > ----+--------+-----+--------------+--------------------------------------= ----------------------------------------------- > 29 | Active | 80 | 4.1.4 | Apache Karaf :: OSGi Services :: Event > 55 | Active | 80 | 2.6.3 | Jackson-dataformat-Smile > 56 | Active | 80 | 2.6.3 | Jackson-dataformat-YAML > 57 | Active | 80 | 18.0.0 | Guava: Google Core Libraries for Java > 58 | Active | 80 | 1.0.2 | Compress-LZF > 68 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Elasticsearch 2.x > 74 | Active | 80 | 2.2.0.1 | Apache ServiceMix :: Bundles :: elasticsearc= h > 104 | Active | 80 | 3.10.5.Final | Netty > 115 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Kibana 4.x > 116 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: API > 117 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Appender :: Elast= icsearch Native 2.x > 118 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Marshaller :: Jso= n > 119 | Active | 80 | 1.0.4 | JSR 353 (JSON Processing) Default Provider > 120 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Collector :: Log > 121 | Active | 80 | 1.4.0 | Apache Karaf :: Decanter :: Collector :: JMX > 123 | Active | 50 | 2.8.10 | Jackson-annotations > 124 | Active | 50 | 2.8.10 | Jackson-core > 125 | Active | 50 | 2.8.10 | jackson-databind > 126 | Active | 50 | 2.8.10 | Jackson module: JAXB-annotations > 127 | Active | 80 | 2.20.1 | camel-commands-core > 128 | Active | 50 | 2.20.1 | camel-core > 129 | Active | 50 | 2.20.1 | camel-jackson > 130 | Active | 80 | 2.20.1 | camel-karaf-commands > {code} > And in log appears error: > {code:java} > 2018-01-26 17:09:19,573 | WARN | updateTask][T#1] | gateway | 74 - org.ap= ache.servicemix.bundles.elasticsearch - 2.2.0.1 | [decanter] [karaf-2018.01= .26]: failed to write index state > java.lang.NoSuchMethodError: com.fasterxml.jackson.dataformat.smile.Smile= Generator.getOutputContext()Lcom/fasterxml/jackson/core/json/JsonWriteConte= xt; > at com.fasterxml.jackson.dataformat.smile.SmileGenerator.close(SmileGener= ator.java:1524) ~[55:com.fasterxml.jackson.dataformat.jackson-dataformat-sm= ile:2.6.3] > at org.elasticsearch.common.xcontent.json.JsonXContentGenerator.close(Jso= nXContentGenerator.java:445) ~[74:org.apache.servicemix.bundles.elasticsear= ch:2.2.0.1] > at org.elasticsearch.common.xcontent.XContentBuilder.close(XContentBuilde= r.java:1174) ~[74:org.apache.servicemix.bundles.elasticsearch:2.2.0.1] > at org.elasticsearch.gateway.MetaDataStateFormat.write(MetaDataStateForma= t.java:128) ~[74:org.apache.servicemix.bundles.elasticsearch:2.2.0.1] > at org.elasticsearch.gateway.MetaStateService.writeIndex(MetaStateService= .java:135) [74:org.apache.servicemix.bundles.elasticsearch:2.2.0.1] > at org.elasticsearch.gateway.GatewayMetaState.clusterChanged(GatewayMetaS= tate.java:160) [74:org.apache.servicemix.bundles.elasticsearch:2.2.0.1] > at org.elasticsearch.gateway.Gateway.clusterChanged(Gateway.java:185) [74= :org.apache.servicemix.bundles.elasticsearch:2.2.0.1] > at org.elasticsearch.cluster.service.InternalClusterService.runTasksForEx= ecutor(InternalClusterService.java:600) [74:org.apache.servicemix.bundles.e= lasticsearch:2.2.0.1] > at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.ru= n(InternalClusterService.java:762) [74:org.apache.servicemix.bundles.elasti= csearch:2.2.0.1] > at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecut= or$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecut= or.java:231) [74:org.apache.servicemix.bundles.elasticsearch:2.2.0.1] > at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecut= or$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:= 194) [74:org.apache.servicemix.bundles.elasticsearch:2.2.0.1] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j= ava:1149) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.= java:624) [?:?] > at java.lang.Thread.run(Thread.java:748) [?:?] > {code} > Elasticsearch fixthis bug on 2.4.0 and 5.0.0: > [https://github.com/elastic/elasticsearch/issues/20089] > But in decanter still used version 2.2.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005)