SYMPTOM
I am trying to install the Impala JDBC Connector 2.6.33 as an external .jar in Anypoint Studio 7.18:
https://www.cloudera.com/downloads/connectors/impala/jdbc/2-6-33.html
I am getting an error:
[ERROR] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:4.2.0:process-classes (default-process-classes) on project impala3: Execution default-process-classes of goal org.mule.tools.maven:mule-maven-plugin:4.2.0:process-classes failed: Error loading: impala3.xml, Can't resolve http://www.mulesoft.org/schema/mule/db/current/mule-db.xsd, A dependency or plugin might be missing -> [Help 1]
CAUSE
This is an issue external to Anypoint Studio. This error occurs because because Maven cannot resolve variables env.JDBC_V>42, env.MAJOR_V, env.MINOR_V, etc.
SOLUTION
The below solution is a potential workaround as this is an issue external to Studio.
Steps:
1. First, install the dependency and follow the steps in this link:
https://help.mulesoft.com/s/question/0D52T00004vbsMlSAI/error-connecting-to-impala-via-jdbc
2. Then, place the below variables inside the AnypointStudio.ini file. The variables correspond to the ImpalaJDBC42-2.6.33.1062 version.
How to find the .ini file:
https://help.salesforce.com/s/articleView?id=001115951&type=1
Variables:
-Denv.JDBC_V=42
-Denv.MAJOR_V=2
-Denv.MINOR_V=6
-Denv.REVISION_V=33
-Denv.BUILD_V=1062
-Denv.BUILD_V=impala
3. Restart Studio
002473644

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.