IBM Support

Connections to Cloudera Impala using Kerberos throws java.lang.NoClassDefFoundError

Troubleshooting


Problem

When Dynamic Query attempts to open a connection via the Cloudera Impala JDBC driver the following exception is thrown.
 
Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.security.auth.module.Krb5LoginModule
        at com.cloudera.impala.jdbc.kerberos.IBMKerberosAuthenticationHelper.getAppConfigurationEntry(Unknown Source)
        at java.base/javax.security.auth.login.LoginContext.init(LoginContext.java:256)

Cause

Cloudere Impala JDBC driver is not compatible with IBM JRE version 17 in Cognos Analytics 12.1.

Environment

Cognos Analytics 12.1 using IBM JRE version 17.

The <cognos-location>\drivers includes Cloudera Impala JDBC driver.

Resolving The Problem

There is no solution until Cloudera publishes an updated JDBC driver that is compatible with IBM Java 17+.

For further details contact Cloudera support.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl3zAAC","label":"Administration"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
02 July 2025

UID

ibm17228965