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

Fix NPE in HiveHook due to null Session State

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7-incubating
    • None
    • None

    Description

      2016-07-25 11:12:16,568 INFO  [Atlas Logger 1]: hook.HiveHook (HiveHook.java:fireAndForget(202)) - Entered Atlas hook for hook type POST_EXEC_HOOK operation QUERY
      2016-07-25 11:12:16,568 ERROR [Atlas Logger 1]: hook.HiveHook (HiveHook.java:run(188)) - Atlas hook failed due to error
      java.lang.NullPointerException
      	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getTableQualifiedName(HiveMetaStoreBridge.java:365)
      	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getTableQualifiedName(HiveMetaStoreBridge.java:383)
      	at org.apache.atlas.hive.hook.HiveHook.processHiveEntity(HiveHook.java:621)
      	at org.apache.atlas.hive.hook.HiveHook.registerProcess(HiveHook.java:599)
      	at org.apache.atlas.hive.hook.HiveHook.fireAndForget(HiveHook.java:227)
      	at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:82)
      	at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:186)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Options
      

      Attachments

        Activity

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

          People

            suma.shivaprasad Suma Shivaprasad
            suma.shivaprasad Suma Shivaprasad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment