Madhan Neethiraj created ATLAS-2757:
---------------------------------------

             Summary: Hive hook fails with NPE while processing column-rename 
on temporary table
                 Key: ATLAS-2757
                 URL: https://issues.apache.org/jira/browse/ATLAS-2757
             Project: Atlas
          Issue Type: Bug
          Components: atlas-intg
    Affects Versions: 1.0.0, 0.8.2
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


Atlas hook for Hive fails with NPE while processing column-rename on temporary 
table.

{noformat}
create temporary table testTempTable(id int, name string, dob date);
alter table testTempTable CHANGE name last_name string;
{noformat}

{noformat}
HiveHook.run(): failed to process operation ALTERTABLE_RENAMECOL
java.lang.NullPointerException: null
        at java.util.ArrayList.<init>(ArrayList.java:177) ~[?:1.8.0_112]
        at 
org.apache.atlas.hive.hook.events.AlterTableRenameCol.getNotificationMessages(AlterTableRenameCol.java:57)
        at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:156)
        at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:52)
        at 
org.apache.hadoop.hive.ql.HookRunner.invokeGeneralHook(HookRunner.java:296)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to