[ https://issues.apache.org/jira/browse/HIVE-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888508#comment-15888508 ]
Thejas M Nair commented on HIVE-15766: -------------------------------------- [~vgumashta] It would be safer to call HMSHandler.getMS() instead of HMSHandler.getRawStore(). That will ensure that it gets a non null value. That would also address what [~mohitsabharwal] raised. HMSHandler.getRawStore() is currently used only in places where you don't want to initialize a new MS if one doesn't exist (ie, when you are trying to cleanup). > DBNotificationlistener leaks JDOPersistenceManager > -------------------------------------------------- > > Key: HIVE-15766 > URL: https://issues.apache.org/jira/browse/HIVE-15766 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > Attachments: HIVE-15766.1.patch, HIVE-15766.2.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)