atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Khan (JIRA)" <>
Subject [jira] [Created] (ATLAS-1351) HiveHook fails with NPE when a sqoop import job is executed
Date Tue, 06 Dec 2016 11:53:58 GMT
Ayub Khan created ATLAS-1351:

             Summary: HiveHook fails with NPE when a sqoop import job is executed
                 Key: ATLAS-1351
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.8-incubating
            Reporter: Ayub Khan
         Attachments: hive.log

HiveHook fails with below stack trace whenever a sqoop import job to copy into hive table.

*Impact: No hive process info is captured in Atlas for sqoop import.*

2016-12-06 11:41:02,304 ERROR [Atlas Logger 0]: hook.HiveHook ( - Atlas
hook failed due to error
        at org.apache.atlas.hive.hook.HiveHook$
        at org.apache.atlas.hive.hook.HiveHook$
        at java.util.TreeMap.put(
        at java.util.TreeSet.add(
        at java.util.AbstractCollection.addAll(
        at java.util.TreeSet.addAll(
        at org.apache.atlas.hive.hook.HiveHook.registerProcess(
        at org.apache.atlas.hive.hook.HiveHook.fireAndForget(
        at org.apache.atlas.hive.hook.HiveHook.access$200(
        at org.apache.atlas.hive.hook.HiveHook$
        at java.util.concurrent.Executors$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$

Attaching hive.log for reference.

Sample sqoop import command:
/usr/hdp/current/sqoop-client/bin/sqoop  import  --connect jdbc:mysql://
--username sqoop --password sqoop --hive-import  --warehouse-dir /user/hrt_qa --table SqoopTablejufuv3lh71
--hive-table hiveSqoopTablejufuv3lh71temp4 --m 1 --create-hive-table

CC [~mneethiraj] [~skoneru]

This message was sent by Atlassian JIRA

View raw message