Pipelines that are built with Spark or Hive as the execution engine fails with the below error in the .out file in the job log.
ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.7ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.7ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.7ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.7infoworks.tools.ExceptionHandling.IWRunTimeException: [BATCH_PIPELINE_PLAN_ERROR: 2501]: An error occurred while validating the built pipeline target. These details are available in logs.
Upgrade IWX Data Foundry to v3.1.0 to fix this issue or perform the below steps as a workaround in the current version that you are using.
a) Login to Infoworks Edge node with the user who starts IWX services.
b) Go to $IW_HOME/conf/conf.properties file.
c) Open it and add the below antlr jar in the df_batch_classpath.
d) Run the Hive/Spark pipeline.
Applicable IWX Data Foundry Versions: