[
https://issues.apache.org/jira/browse/ATLAS-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356610#comment-17356610
]
ASF subversion and git services commented on ATLAS-4322:
--------------------------------------------------------
Commit a2a1e3b5d23ff5db45fbf7f5a28976ea465d9c46 in atlas's branch
refs/heads/branch-2.0 from JP Li
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=a2a1e3b ]
ATLAS-4322: Hive HOOK NPE
Signed-off-by: sidmishra <[email protected]>
(cherry picked from commit ff0c65a49fb4617b85a5b8a674be53305f5cf64b)
> Hive HOOK fails with NPE while processing column-rename
> -------------------------------------------------------
>
> Key: ATLAS-4322
> URL: https://issues.apache.org/jira/browse/ATLAS-4322
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Radhika Kundam
> Assignee: Radhika Kundam
> Priority: Trivial
>
> While processing column-rename on temporary table, Atlas hook for Hive fails
> with Null Pointer Exception.
> {code:java}
> 2021-05-25 15:06:38,131 ERROR org.apache.atlas.hive.hook.HiveHook:
> [HiveServer2-Background-Pool: Thread-529]: HiveHook.run(): failed to process
> operation ALTERTABLE_RENAMECOL java.lang.NullPointerException: null at
> java.util.ArrayList.<init>(ArrayList.java:178) ~[?:1.8.0_292] at
> org.apache.atlas.hive.hook.events.AlterTableRenameCol.getHiveMessages(AlterTableRenameCol.java:76)
> ~[hive-bridge-2.1.0.7.2.9.1-2.jar:2.1.0.7.2.9.1-2] at
> org.apache.atlas.hive.hook.events.AlterTableRenameCol.getNotificationMessages(AlterTableRenameCol.java:55)
> ~[hive-bridge-2.1.0.7.2.9.1-2.jar:2.1.0.7.2.9.1-2] at
> org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:252)
> [hive-bridge-2.1.0.7.2.9.1-2.jar:2.1.0.7.2.9.1-2] at
> org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:52)
> [hive-bridge-shim-2.1.0.7.2.9.1-2.jar:2.1.0.7.2.9.1-2]{code}
>
> In ATLAS-2757 a similar issue was fixed (in 2018) by adding a check for
> {{baseMsgs}}
> but in ATLAS-3148 it was re-introduced (in 2019).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)