<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Not able to connect ImpalaDB from Springboot application in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366591#M239627</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104108"&gt;@ThomasCloudeara&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, the JDBC driver v2.6.4 is very old. Kindly use the latest one, download it from our website:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/downloads/connectors/impala/jdbc/" target="_blank"&gt;https://www.cloudera.com/downloads/connectors/impala/jdbc/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Preferably use the "JDBC4.2" specification driver, with that use&lt;/P&gt;&lt;P&gt;"com.cloudera.impala.jdbc.Driver" instead.&lt;/P&gt;&lt;P&gt;Second, please follow the guide&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-30/Cloudera-JDBC-Connector-for-Apache-Impala-Install-Guide.pdf" target="_blank"&gt;https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-30/Cloudera-JDBC-Connector-for-Apache-Impala-Install-Guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and verify the JDBC connection string:&lt;BR /&gt;- if the LDAP authentication is really enabled (AuthMech=3 tells that) or if you have Kerberos authentication only in your cluster (which needs AuthMech=1)&lt;BR /&gt;- if LDAP auth is really enabled, can you connect to Impala with impala-shell with the same username/password pair?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;Miklos&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 11:03:31 GMT</pubDate>
    <dc:creator>mszurap</dc:creator>
    <dc:date>2023-03-21T11:03:31Z</dc:date>
    <item>
      <title>Not able to connect ImpalaDB from Springboot application</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366457#M239585</link>
      <description>&lt;P&gt;I am trying to connect remote ImpalaDB in my springboot application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In pom.xml I am having following dependency for impalaDB:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;groupId&amp;gt;&lt;/SPAN&gt;com.cloudera&lt;SPAN&gt;&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;artifactId&amp;gt;&lt;/SPAN&gt;ImpalaJDBC41&lt;SPAN&gt;&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;version&amp;gt;&lt;/SPAN&gt;2.6.4.1005&lt;SPAN&gt;&amp;lt;/version&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; and in application.properties:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;server.port&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;9090&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;spring.application.name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;ImpalaConnect&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;spring.cloud.config.enabled&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;spring.datasource.driver-class-name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;com&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;cloudera&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;impala&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;jdbc41&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Driver&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;spring.datasource.url&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;jdbc:impala://remote-impala-address:21050;AuthMech=3;UID=user_id;PWD=@PassWord;SSL=1;AllowSelfSignedCerts=1;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;when I run the application , its giving me following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500164) Error initialized or created transport for authentication: [Cloudera][ImpalaJDBCDriver](500592) Authentication failed..&lt;BR /&gt;at com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createTransport(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createClient(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.establishConnection(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.impala.core.ImpalaJDBCConnection.establishConnection(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc.core.LoginTimeoutConnection$1.call(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc.core.LoginTimeoutConnection$1.call(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]&lt;BR /&gt;Caused by: com.cloudera.impala.support.exceptions.GeneralException: [Cloudera][ImpalaJDBCDriver](500164) Error initialized or created transport for authentication: [Cloudera][ImpalaJDBCDriver](500592) Authentication failed..&lt;BR /&gt;... 9 common frames omitted&lt;BR /&gt;Caused by: com.cloudera.impala.jdbc41.internal.apache.thrift.transport.TTransportException: null&lt;BR /&gt;at com.cloudera.impala.jdbc41.internal.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc41.internal.apache.thrift.transport.TTransport.readAll(TTransport.java:84) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc41.internal.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:178) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc41.internal.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:288) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc41.internal.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createTransport(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createClient(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.establishConnection(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.impala.core.ImpalaJDBCConnection.establishConnection(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc.core.LoginTimeoutConnection$1.call(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at com.cloudera.impala.jdbc.core.LoginTimeoutConnection$1.call(Unknown Source) ~[ImpalaJDBC41-2.6.4.1005.jar:na]&lt;BR /&gt;at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]&lt;BR /&gt;at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]&lt;/P&gt;&lt;P&gt;2023-03-20 13:24:57.541 WARN 6604 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration$DataSourceInitializerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.batch.BatchDataSourceScriptDatabaseInitializer]: Factory method 'batchDataSourceInitializer' threw exception; nested exception is java.lang.IllegalStateException: Unable to detect database type&lt;BR /&gt;2023-03-20 13:24:57.543 INFO 6604 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]&lt;BR /&gt;2023-03-20 13:24:57.551 INFO 6604 --- [ main] ConditionEvaluationReportLoggingListener :&lt;/P&gt;&lt;P&gt;Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.&lt;BR /&gt;2023-03-20 13:24:57.566 ERROR 6604 --- [ main] o.s.boot.SpringApplication : Application run failed&lt;/P&gt;&lt;P&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration$DataSourceInitializerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.batch.BatchDataSourceScriptDatabaseInitializer]: Factory method 'batchDataSourceInitializer' threw exception; nested exception is java.lang.IllegalStateException: Unable to detect database type&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154) ~[spring-context-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908) ~[spring-context-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at ALM.ImpalaConnect.ImpalaConnectApplication.main(ImpalaConnectApplication.java:10) ~[classes/:na]&lt;BR /&gt;Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.batch.BatchDataSourceScriptDatabaseInitializer]: Factory method 'batchDataSourceInitializer' threw exception; nested exception is java.lang.IllegalStateException: Unable to detect database type&lt;BR /&gt;at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;... 21 common frames omitted&lt;BR /&gt;Caused by: java.lang.IllegalStateException: Unable to detect database type&lt;BR /&gt;at org.springframework.util.Assert.state(Assert.java:76) ~[spring-core-5.3.22.jar:5.3.22]&lt;BR /&gt;at org.springframework.boot.jdbc.init.PlatformPlaceholderDatabaseDriverResolver.determinePlatform(PlatformPlaceholderDatabaseDriverResolver.java:132) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.jdbc.init.PlatformPlaceholderDatabaseDriverResolver.lambda$resolveAll$0(PlatformPlaceholderDatabaseDriverResolver.java:96) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.jdbc.init.PlatformPlaceholderDatabaseDriverResolver.resolveAll(PlatformPlaceholderDatabaseDriverResolver.java:121) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.jdbc.init.PlatformPlaceholderDatabaseDriverResolver.resolveAll(PlatformPlaceholderDatabaseDriverResolver.java:96) ~[spring-boot-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.autoconfigure.batch.BatchDataSourceScriptDatabaseInitializer.resolveSchemaLocations(BatchDataSourceScriptDatabaseInitializer.java:86) ~[spring-boot-autoconfigure-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.autoconfigure.batch.BatchDataSourceScriptDatabaseInitializer.getSettings(BatchDataSourceScriptDatabaseInitializer.java:73) ~[spring-boot-autoconfigure-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.autoconfigure.batch.BatchDataSourceScriptDatabaseInitializer.&amp;lt;init&amp;gt;(BatchDataSourceScriptDatabaseInitializer.java:48) ~[spring-boot-autoconfigure-2.7.2.jar:2.7.2]&lt;BR /&gt;at org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration$DataSourceInitializerConfiguration.batchDataSourceInitializer(BatchAutoConfiguration.java:116) ~[spring-boot-autoconfigure-2.7.2.jar:2.7.2]&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]&lt;BR /&gt;at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]&lt;BR /&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]&lt;BR /&gt;at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.22.jar:5.3.22]&lt;BR /&gt;... 22 common frames omitted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Process finished with exit code 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:41:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366457#M239585</guid>
      <dc:creator>ThomasCloudeara</dc:creator>
      <dc:date>2026-04-21T07:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect ImpalaDB from Springboot application</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366537#M239604</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104108"&gt;@ThomasCloudeara&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Impala&amp;nbsp; experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/9634"&gt;@bbreak&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 17:38:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366537#M239604</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-03-20T17:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect ImpalaDB from Springboot application</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366591#M239627</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104108"&gt;@ThomasCloudeara&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, the JDBC driver v2.6.4 is very old. Kindly use the latest one, download it from our website:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/downloads/connectors/impala/jdbc/" target="_blank"&gt;https://www.cloudera.com/downloads/connectors/impala/jdbc/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Preferably use the "JDBC4.2" specification driver, with that use&lt;/P&gt;&lt;P&gt;"com.cloudera.impala.jdbc.Driver" instead.&lt;/P&gt;&lt;P&gt;Second, please follow the guide&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-30/Cloudera-JDBC-Connector-for-Apache-Impala-Install-Guide.pdf" target="_blank"&gt;https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-30/Cloudera-JDBC-Connector-for-Apache-Impala-Install-Guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and verify the JDBC connection string:&lt;BR /&gt;- if the LDAP authentication is really enabled (AuthMech=3 tells that) or if you have Kerberos authentication only in your cluster (which needs AuthMech=1)&lt;BR /&gt;- if LDAP auth is really enabled, can you connect to Impala with impala-shell with the same username/password pair?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;Miklos&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:03:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366591#M239627</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2023-03-21T11:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect ImpalaDB from Springboot application</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366772#M239671</link>
      <description>&lt;P&gt;Thanks for you reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;Would you specify me the maven dependency for ImpalaDB that I need to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am trying with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;groupId&amp;gt;&lt;/SPAN&gt;com.cloudera&lt;SPAN&gt;&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;artifactId&amp;gt;&lt;/SPAN&gt;ImpalaJDBC41&lt;SPAN&gt;&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;version&amp;gt;&lt;/SPAN&gt;2.6.4.1005&lt;SPAN&gt;&amp;lt;/version&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;which creates an external springboot library com.cloudera.ImpalaJDBC41:2.6.4.jar. When tried the dependency 4.2 , it could not download the jar.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 10:45:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366772#M239671</guid>
      <dc:creator>ThomasCloudeara</dc:creator>
      <dc:date>2023-03-23T10:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect ImpalaDB from Springboot application</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366785#M239675</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104108"&gt;@ThomasCloudeara&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The ImpalaJDBC library/dependency is not published into any public maven repository due to licensing questions. After accepting the license terms you need to download the .zip from our download site, extract it, and "install" the ImpalaJDBC42.jar into one of your company wide or to your machine local maven repository.&amp;nbsp;&lt;BR /&gt;Follow the Maven guide:&lt;/P&gt;&lt;P&gt;&lt;A href="https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html" target="_blank"&gt;https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 12:36:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/366785#M239675</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2023-03-23T12:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect ImpalaDB from Springboot application</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/368390#M240162</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed your way. But spring boot is giving me the following error:&lt;/P&gt;&lt;P&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration$DataSourceInitializerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.batch.BatchDataSourceScriptDatabaseInitializer]: Factory method 'batchDataSourceInitializer' threw exception; nested exception is java.lang.IllegalStateException:&lt;STRONG&gt; Unable to detect database type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So do I need to tell Spring boot database type? If so then what is the type of database for ImpalaDB?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 06:25:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/368390#M240162</guid>
      <dc:creator>ThomasCloudeara</dc:creator>
      <dc:date>2023-04-13T06:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect ImpalaDB from Springboot application</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/368391#M240163</link>
      <description>&lt;P&gt;This sounds a Spring boot specific issue, a quick googling was leading me to&amp;nbsp;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/42073194/unable-to-detect-database-type" target="_blank"&gt;https://stackoverflow.com/questions/42073194/unable-to-detect-database-type&lt;/A&gt;&lt;/P&gt;&lt;P&gt;please check if the suggestions in that discussion helps.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 07:05:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-connect-ImpalaDB-from-Springboot-application/m-p/368391#M240163</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2023-04-13T07:05:15Z</dc:date>
    </item>
  </channel>
</rss>

