Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B793B200B16 for ; Mon, 20 Jun 2016 19:54:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B62D6160A65; Mon, 20 Jun 2016 17:54:22 +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 D8F47160A26 for ; Mon, 20 Jun 2016 19:54:21 +0200 (CEST) Received: (qmail 84540 invoked by uid 500); 20 Jun 2016 17:54:21 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 84529 invoked by uid 99); 20 Jun 2016 17:54:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2016 17:54:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 914091805DB for ; Mon, 20 Jun 2016 17:54:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id zz4fPKRGBtyt for ; Mon, 20 Jun 2016 17:54:18 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 90B225F1F7 for ; Mon, 20 Jun 2016 17:54:17 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id q132so42596655lfe.3 for ; Mon, 20 Jun 2016 10:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=LkPErD8/vhrMaBL8D/3gQmUdvWf9Fv5ynRi3YiJWuLU=; b=nWvDFvogDkwrmxtakQxfRnLj9ngNg9sTGFcK3plFX8RXtHB8snDuXlj51d/9r6Mkyb 0OwWk7AAW/it4HLgyOhNi+Y954WutaaHP2kTIcFES5FDWy+xHcpk5LOcOfMhndgv47eM 3aoaDvN/toxUH4xsqe44CaIViOrq23tmex+a62T8eixBGmD0s3geuIsQ6oXVmhVpwxlM IOQIuCzN4dY9edOupQarkpZFh0QNgNCdaVyF2+jmrFIh/pyQuboKtEpwEFD5gcpyxLnh LE0qdblt2n4NkKGtxOqxFJXhufuvESpIXpjiJPrkHz7WGQ/HZXOisbaUHpQrz9av7sJm nF7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LkPErD8/vhrMaBL8D/3gQmUdvWf9Fv5ynRi3YiJWuLU=; b=bz8dwvKrIFOmL3RzGxcKhl+H80ndxPy7ujCSgq6Bf4rSqojP9kC8j2EGK0c3DfpBoL CwrFv9RH1z+Yvo854AZg1fgycUE+ry8OSCu/7hwROKnR+4LQmRlouJf6LgIUIE4HTqX/ veCa0KvYHdTtmrJZwHppxEXMQvPYbz7SS+rqIYtnOp1j5g4QURLTw8pU6rr0zBpibCit SecgrOIxfe4d1hdNdTcA02JgarjVfbxrTdFlBIsI5cGrSfGO6bV1BULAa1r49VEZiAvm Zoha5cR9b9+Z8NtBvagGuhZlSlPLPjO7o8W6uv1/le4Y/U8VAQoO5+EffcXkA6gmievk tRtA== X-Gm-Message-State: ALyK8tJ0vK9ojWJDPMAwlYGex6i7UVptypuuHEN1Zt0JUEFgQy5Pbgrslu4iMXantuTB9+LdhC7UbQYlhraNwh2F X-Received: by 10.25.209.71 with SMTP id i68mr4882951lfg.20.1466445256003; Mon, 20 Jun 2016 10:54:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.134.133 with HTTP; Mon, 20 Jun 2016 10:54:15 -0700 (PDT) In-Reply-To: <1466443597351-5765.post@n6.nabble.com> References: <1466443597351-5765.post@n6.nabble.com> From: Alexey Kuznetsov Date: Tue, 21 Jun 2016 00:54:15 +0700 Message-ID: Subject: Re: Why ignite-indexing doesn't use/work the latest H2 version To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a11412ba8912db90535b96498 archived-at: Mon, 20 Jun 2016 17:54:22 -0000 --001a11412ba8912db90535b96498 Content-Type: text/plain; charset=UTF-8 Hi zshamrock. As far as I know H2 1.4 has beta status (although it is pretty stable) and also we could not simply switch to H2 1.4.x this will require some internal code changes. I think Sergi, who is a main developer of Ignite SQL, could provide more information about this. On Tue, Jun 21, 2016 at 12:26 AM, zshamrock wrote: > I found that if I use the latest H2 version 1.4.192, Ignite fails on > startup > with the following error: > > java.lang.NoClassDefFoundError: org/h2/constant/SysProperties > > at > > org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.start(IgniteH2Indexing.java:1487) > at > > org.apache.ignite.internal.processors.query.GridQueryProcessor.start(GridQueryProcessor.java:171) > at > > org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1549) > at > org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:869) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1736) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1589) > at > org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1042) > at > > org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:964) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:870) > at org.apache.ignite.Ignition.start(Ignition.java:397) > > Looking into source code IgniteH2Indexing class it uses the following > imports: > > import org.h2.constant.ErrorCode; > import org.h2.constant.SysProperties; > > which (looks like) were moved in the latest version of H2 into > org.h2.engine > (for SysProperties) and org.h2.api (for ErrorCode) packages. > > Why ignite-indexing doesn't use the latest (or at least version 1.4 of H2)? > But relies on 1.3.175. Are there reasons for this? > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Why-ignite-indexing-doesn-t-use-work-the-latest-H2-version-tp5765.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Alexey Kuznetsov GridGain Systems www.gridgain.com --001a11412ba8912db90535b96498 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi zshamrock.

As far as I know H2 1= .4 has beta status (although it is pretty stable)=C2=A0
and also = we could not simply switch to H2 1.4.x this will require some internal code= changes.

I think Sergi, who is a main developer o= f Ignite SQL, could provide more information about this.

On Tue, Jun 21, 2016 at = 12:26 AM, zshamrock <aliaksandr.kazlou@gmail.com> = wrote:
I found that if I use the latest H= 2 version 1.4.192, Ignite fails on startup
with the following error:

java.lang.NoClassDefFoundError: org/h2/constant/SysProperties

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.start(Ignit= eH2Indexing.java:1487)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at
org.apache.ignite.internal.processors.query.GridQueryProcessor.start(GridQu= eryProcessor.java:171)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:15= 49)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.ignite.internal.IgniteKernal.star= t(IgniteKernal.java:869)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx= .java:1736)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.= java:1589)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.ignite.internal.IgnitionEx.start0= (IgnitionEx.java:1042)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at
org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:9= 64)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.ignite.internal.IgnitionEx.start(= IgnitionEx.java:930)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.ignite.internal.IgnitionEx.start(= IgnitionEx.java:870)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.ignite.Ignition.start(Ignition.ja= va:397)

Looking into source code IgniteH2Indexing class it uses the following
imports:

import org.h2.constant.ErrorCode;
import org.h2.constant.SysProperties;

which (looks like) were moved in the latest version of H2 into org.h2.engin= e
(for SysProperties) and org.h2.api (for ErrorCode) packages.

Why ignite-indexing doesn't use the latest (or at least version 1.4 of = H2)?
But relies on 1.3.175. Are there reasons for this?



--
View this message in context: http://apache-ignite-users.7= 0518.x6.nabble.com/Why-ignite-indexing-doesn-t-use-work-the-latest-H2-versi= on-tp5765.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.



--
Alexey KuznetsovGridGain Systems
www.gridgain.com
--001a11412ba8912db90535b96498--