Hi,
we open a calcite connection with ReflectiveSchema in one thread, and execute
sqls in other threads against the connection, but failed with this error
com.google.common.util.concurrent.ExecutionError:
java.lang.NoSuchMethodError:
org.codehaus.commons.compiler.CompilerFactoryFactory.g
Hi!
It looks like a dependency issue, not like a multi-threading issue. Most
likely you have some dependency that use another version of janino but
calcite requires another one
On Fri, Feb 11, 2022 at 12:18 PM xiaobo wrote:
> Hi,
>
>
> we open a calcite connection with ReflectiveSchema in one th
yes, we use drools in the same project, and drools uses janino too, is
there a version list of janino which janino supports?
---Original---
From: "Dmitry Sysolyatin"
yes, we use drools in the same project, and drools uses janino too, is
there a version list of janino which calcite supports?
---Original---
From: "Dmitry Sysolyatin"
for example on a current calcite branch:
grep janino gradle.properties
janino.version=3.1.6
yes, we use drools in the same project, and drools uses janino
too, is there a version list of janino which calcite supports?
---Original---
From: "Dmitry Sysolyatin"
; From: "Dmitry Sysolyatin" > Date: Fri, Feb 11, 2022 18:30 PM
> > To: "dev" > Subject: Re: calcite multi-threading problem
> >
> >
> > Hi!
> >
> It looks like a dependency issue, not like a multi-threading issue. Most
> >
> likely yo
we use maven and the effective pom contains only the 3.1.0 version of janino as
following:
> > > yes, we use drools in the same project, and drools uses janino
> > > too, is there a version list of janino which calcite supports?
> > >
> > >
> > >
> > >
> > > ---Original---
> > > From: "Dmitry Sysolyatin" &g
can you share the solution for the problem, we are using the following
libraries, and it seems janino 3.1.6 is only dependent by calcite-core.
>
>
>
>
>
>
>
>
>
>
> -- Original ----------
> From: "xiong duan"; Send time: Saturday, Feb 12, 2022 8:43 AM
> To: "dev"
&
sorry about that, I'll correct it.
-- Original --
From: "Julian Hyde";;
Send time: Saturday, Feb 12, 2022 9:41 AM
To: "dev";
Subject: Re: calcite multi-threading problem
xiaobo,
Your emails are coming through with a lot of HTML
> >
> >
> > > yes, we use drools in the same project, and drools uses janino
> > > too, is there a version list of janino which calcite supports?
> > >
> > >
> > >
> > >
> > > ---Original---
> > > From: "
quot;dev";
Subject: Re: calcite multi-threading problem
can you share the solution for the problem, we are using the following
libraries, and it seems janino 3.1.6 is only dependent by calcite-core.
UTF-8
UTF-8
9
9
9
-
From: "xiaobo ";;
Send time: Saturday, Feb 12, 2022 11:56 AM
To: "dev";
Subject: Re: calcite multi-threading problem
And if we remove calcite from our project, janino is not in "resolved
depencies" library list of pom.xml,
So we think it not the janin
actory method with a classloader
parameter was removed intentionally?
but it seems calcite still needs it , so what version of janino should we use
for the latest calcite-core?
-- Original --
From: "xiaobo ";;
Send time: Saturday, Feb 12, 2022 12:01 PM
To
but strange enough, the same code works in a single thread.
-- Original --
From: "xiaobo ";;
Send time: Saturday, Feb 12, 2022 8:02 PM
To: "dev";
Subject: Re: calcite multi-threading problem
we checked the janino release not
3.1.4 of janino and commons-compiler works now.
-- Original --
From: "xiaobo ";;
Send time: Saturday, Feb 12, 2022 8:04 PM
To: "dev";
Subject: Re: calcite multi-threading problem
but strange enough, the same code work
mons-compiler works now.
>
>
>
>
> -- Original --
> From: "xiaobo ";;
> Send time: Saturday, Feb 12, 2022 8:04 PM
> To: "dev";
>
> Subject: Re: calcite multi-threading problem
>
>
>
> but strange
ot;;;
Send time: Monday, Feb 14, 2022 5:49 PM
To: "dev";
Subject: Re: calcite multi-threading problem
Hi,
I haven't gone through all the exchanges but wanted to mention that in
general the JDBC connection APIs are not thread-safe.
You previously mentioned the following:
&quo
n't use the same connection instance from multiple
> threads.
>
> Best,
> Stamatis
>
> On Sat, Feb 12, 2022 at 2:14 PM xiaobo
> wrote:
>
> > 3.1.4 of janino and commons-compiler works now.
> >
> >
> >
> >
> > -- Original ---
tCompiler.compile2(UnitCompiler.java:2391)
~[janino-3.1.4.jar:na]
... 86 common frames omitted
With janino 3.1.4
-- Original --
From: "xiaobo ";;
Send time: Saturday, Feb 12, 2022 9:14 PM
To: "dev";
Subject: Re: calcite multi-t
uot;;
Subject: Re: calcite multi-threading problem
Hi,
Now we come to the problem similar as the one at
https://github.com/apache/calcite/pull/2433#issuecomment-860024076,
a simple sql "select max(id) from s.t1" caused the following exception, users
report upgrading janino
UnitCompiler.java:6478)
> ~[janino-3.1.4.jar:na]
> at
> org.codehaus.janino.UnitCompiler$20.visitAmbiguousName(UnitCompiler.java:6475)
> ~[janino-3.1.4.jar:na]
> at org.codehaus.janino.Java$AmbiguousName.accept(Java.java:4574)
> ~[janino-3.1.4.jar:na]
> at
n Fri, Feb 25, 2022 at 9:33 AM xiaobo
> wrote:
>
>> I have put the testing code at github
>>
>>
>> https://github.com/guxiaobo/gxb-testing/blob/main/calcite-testing/src/test/java/com/xsmartware/testing/calcite/Test1.java
>>
>>
>>
>>
>>
nino
>> janino
>> 3.1.6
>>
>>
>>
>> org.codehaus.janino
>> commons-compiler
>> 3.1.6
>>
>>
>>
>>
>> On Fri, Feb 25, 2022 at 9:33 AM xiaobo
>> wrote:
>>
>>> I have put the testing code at gith
er was removed intentionally?
but it seems calcite still needs it .
What we mean here is that we think calcite has a bug with janino 3.1.6 , are we
right?
-- Original --
From: "Julian Hyde";;
Send time: Saturday, Feb 26, 2022 1:2
te-file
>>> 1.29.0
>>>
>>>
>>> org.codehaus.janino
>>> janino
>>>
>>>
>>> org.codehaus.janino
>>> commons-compiler
>>>
>>>
>>>
>>>
>>>
>>> org.apache.calcit
anino 3.1.6 ,
> are we right?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -- Original --
> > From: "Julian Hyde";;
> > Send time: Saturday, Feb 26, 2022 1:24 AM
> > To: "dev
I mean it seems not a janino related problem, if we put the connection opening
and sql executing operationes in the same thread the same error does not
appear, but with a sql related problem with I sent in another mail.
-- 原始邮件 --
发件人:
29 matches
Mail list logo