[ https://issues.apache.org/jira/browse/ATLAS-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-2757: ------------------------------------ Reporter: Aswathy Chellammal Sreekumar (was: Madhan Neethiraj) > 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: 0.8.2, 1.0.0 > Reporter: Aswathy Chellammal Sreekumar > Assignee: Madhan Neethiraj > Priority: Major > Fix For: 0.8.3, 1.1.0 > > Attachments: ATLAS-2757.patch > > > 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)