tispark icon indicating copy to clipboard operation
tispark copied to clipboard

[BUG] Unexpected warning:ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.7.1

Open WholeWorld-Timothy opened this issue 2 years ago • 4 comments

Describe the bug When running under spark 3.1.x and spark 3.2.x, you will get a warning:ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.8 used for parser compilation does not match the current runtime version 4.7.122/07/27 22:53:34 WARN HttpClientUtil: Failed to send HTTP get request.

What did you do Runtime Environment: TiDB v5.4.2,Spark v3.1.x,TISpark tispark-assembly-3.1_2.12-3.0.1.jar or TiDB v5.4.2,Spark v3.2.x,TISpark tispark-assembly-3.2_2.12-3.0.1.jar 1.Set the correct parameters in the file:${SPARK_HOME}/conf/spark-defaults.conf 2.run bin/spark-sql 3.show databases;

What do you expect Show correct results without warning:ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.8 used for parser compilation does not match the current runtime version 4.7.122/07/27 22:53:34 WARN HttpClientUtil: Failed to send HTTP get request.

What happens instead The warning is displayed, which makes new users disturbed and unable to troubleshoot the correct errors. This error is often encountered in the community. Most users stay in this step and eventually lose.

Screenshots image

Spark and TiSpark version info TiDB v5.4.2,Spark v3.1.x,TISpark tispark-assembly-3.1_2.12-3.0.1.jar or TiDB v5.4.2,Spark v3.2.x,TISpark tispark-assembly-3.2_2.12-3.0.1.jar

Additional context This error is often encountered in the community. Most users stay in this step and eventually lose. Since it is an official product, it should have a certain seriousness and make it easy for users to understand and troubleshoot errors.

WholeWorld-Timothy avatar Aug 04 '22 11:08 WholeWorld-Timothy

Reference:https://asktug.com/t/topic/842805

WholeWorld-Timothy avatar Aug 04 '22 11:08 WholeWorld-Timothy

Can using the exclusions tab solve the problem?

WholeWorld-Timothy avatar Aug 09 '22 06:08 WholeWorld-Timothy

we will resolve it recently

shiyuhang0 avatar Aug 18 '22 03:08 shiyuhang0

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 18 '22 02:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Oct 03 '22 02:10 github-actions[bot]