Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2757

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2, 1.0.0
    • 0.8.3, 1.1.0, 2.0.0
    • atlas-intg
    • 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)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            madhan Madhan Neethiraj
            asreekumar Aswathy Chellammal Sreekumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment