atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Navvluru (JIRA)" <>
Subject [jira] [Created] (ATLAS-2548) Use of IBM JDK results in kafka login exceptions in a kerberized environment
Date Mon, 09 Apr 2018 19:26:00 GMT
Sailaja Navvluru created ATLAS-2548:

             Summary: Use of IBM JDK results in kafka login exceptions in a kerberized environment
                 Key: ATLAS-2548
             Project: Atlas
          Issue Type: Bug
          Components: atlas-intg
    Affects Versions: 0.8-incubating
            Reporter: Sailaja Navvluru

Our product uses IBM JDK while interacting with hive metastore directly to create metadata.
When Atlas-Hive hook is enabled in kerberized environment, our application logs are filled
with the following errors as the Kerberos login module is not found in the path specified
by atlas application properties file. IBM JDK has some more restrictions on Kerberos support
where some of the options supported by sun JDK are not available.

ERROR - Failed to notify atlas for entity [[{Id='(type: hive_db, id: <unassigned>)',
traits=[], values={owner=bigsql, ownerType=1, qualifiedName=tpcdsorc1000@bigsql502

org.apache.kafka.common.KafkaException: Failed to construct kafka producer
    at org.apache.kafka.clients.producer.KafkaProducer.<init>(
    at org.apache.kafka.clients.producer.KafkaProducer.<init>(
    at org.apache.atlas.kafka.KafkaNotification.createProducer(
    at org.apache.atlas.kafka.KafkaNotification.sendInternal(
    at org.apache.atlas.notification.AbstractNotification.send(
    at org.apache.atlas.hook.AtlasHook.notifyEntitiesInternal(
    at org.apache.atlas.hook.AtlasHook.notifyEntities(
    at org.apache.atlas.hook.AtlasHook.notifyEntities(
    at org.apache.atlas.hive.hook.HiveHook.access$300(
    at org.apache.atlas.hive.hook.HiveHook$
    at org.apache.atlas.hive.hook.HiveHook.notifyAsPrivilegedAction(
    at org.apache.atlas.hive.hook.HiveHook$
    at java.util.concurrent.Executors$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
Caused by: org.apache.kafka.common.KafkaException:
unable to find LoginModule class:
    at org.apache.kafka.clients.ClientUtils.createChannelBuilder(
    at org.apache.kafka.clients.producer.KafkaProducer.<init>(
    ... 19 more
Caused by: unable to find LoginModule class:

Attaching a patch to the defect we have tested to support IBM JDK and Kerberos on 0.8 level
of Atlas

This message was sent by Atlassian JIRA

View raw message