EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485006: Impala Kerberos schedule Cubes fail intermittently with the "Kerberos library operation: Internal credentials cache error (filename: /tmp/krb5cc_0)"


Community Admin

• Strategy


This article outlines how to solve Kerberos library operation: Internal credentials cache error.

Description

When parallel republishing schedule cubes with Kerbersized Impala warehouse. Encountered error: Connect failed. Error type: Odbc error. Odbc operation attempted: SQLDriverConnect. [HY000:0: on SQLHANDLE] [Strategy][KerberosSupport] (0) Error occurred during Kerberos library operation: Internal credentials cache error (filename: /tmp/krb5cc_0).Error in Process method of Component: QueryEngineServer, Project ADA ECS Analytics, Job 6672, Error Code= -2147212037.)
The issue should be intermittent, schedule republish cubes in another time slot may succeed after encounter failure.

ka04W000001IwsvQAC_0EM4W0000027eGq.jpeg

 

Root Cause

Kerberos library has the limitation that Kerberos credential cache does not support the use of FILE or basic KEYRING to parallel connect.
 
Publish schedule cubes at the same time would establish multiple processes to create tickets independently, and it is not allowed to use the credential cache.
 

Solution

Modify Kerberos environment variable for Strategy I-server (e.g. set it in Kerberos.sh in I-Server) to making Kerberos KEYRING get valid credentials for each unique process to store credential cache.
 
export KRB5CCNAME=KEYRING:process:mstrcache


Comment

0 comments

Details

Knowledge Article

Published:

April 26, 2021

Last Updated:

April 26, 2021