From the release notes of antl4 , there are two key changes in antl4 4.10:

1.     4.10-generated parsers incompatible with previous runtimes

2.     Increasing minimum java version to Java 11

So I personally think it is temporarily impossible for Spark to upgrade to the 
antl4 version above 4.10,  because Spark still needs to support Java 8.

Yang Jie



发件人: Sean Owen <sro...@gmail.com>
日期: 2023年3月14日 星期二 21:33
收件人: "karuna.s...@accenture.com" <karuna.s...@accenture.com>
抄送: "user@spark.apache.org" <user@spark.apache.org>, "Misra Parashar, Jyoti" 
<jyoti.misra.paras...@accenture.com>, "Ratra, Neelima" 
<neelima.ra...@accenture.com>, "Jain, Neha T." <neha.t.j...@accenture.com>, 
"George, Rejish" <rejish.geo...@accenture.com>, "APP.Security.CoE" 
<app.security....@accenture.com>
主题: Re: Spark 3.3.2 not running with Antlr4 runtime latest version

You want Antlr 3 and Spark is on 4? no I don't think Spark would downgrade. You 
can shade your app's dependencies maybe.

On Tue, Mar 14, 2023 at 8:21 AM Sahu, Karuna 
<karuna.s...@accenture.com.invalid> wrote:
Hi Team

We are upgrading a legacy application using Spring boot , Spark and Hibernate. 
While upgrading Hibernate to 6.1.6.Final version there is a mismatch for antlr4 
runtime jar with Hibernate and latest Spark version. Details for the issue are 
posted on StackOverflow as well:
Issue in running Spark 3.3.2 with Antlr 4.10.1 - Stack 
Overflow<https://mailshield.baidu.com/check?q=fyWH5ckdWFbLQco38JTpbvvT2WFA8hVxgPA3z6IRcTj3A1BnxG9gkVq6PXnyXxd0euEp8bxZb9wTA5JH8pnFxZ2IUWDfofZS9PpanPC0aTmryTTMjQGH2yGybM8OqSxZ>

Please let us know if upgrades for this is being planned for latest Spark 
version.

Thanks
Karuna

________________________________

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy. Your privacy is important to us. Accenture uses your personal data only 
in compliance with data protection laws. For further information on how 
Accenture processes your personal data, please see our privacy statement at 
https://www.accenture.com/us-en/privacy-policy<https://mailshield.baidu.com/check?q=OzENI7D6n0%2fLF%2fh6CCH2H3wK%2bUWSufGlK4%2fgVyIEJCCdKVAj7xFpH5i29OQR2v7fzdV6GQ%3d%3d>.
______________________________________________________________________________________

www.accenture.com<https://mailshield.baidu.com/check?q=WSyU9pAAjHteEAymppwnUaFJ%2fCzoY4oXMC%2fs1g%3d%3d>

Reply via email to