Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.2, 1.0.0
-
None
Description
Atlas hook for Hive fails with NPE while processing column-rename on temporary table.
create temporary table testTempTable(id int, name string, dob date); alter table testTempTable CHANGE name last_name string;
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)