[ 
https://issues.apache.org/jira/browse/HIVE-18768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16396523#comment-16396523
 ] 

Alexander Kolbasov commented on HIVE-18768:
-------------------------------------------

Interesting - all DbNotificationListener tests in branch 3 are now failing here:

{code}
2018-03-12T20:52:22,775 ERROR [main] metastore.ObjectStore: couldnot get lock 
for update
java.lang.NullPointerException: null
        at 
org.apache.hadoop.hive.metastore.ObjectStore.addNotificationEvent(ObjectStore.java:8888)
 [hive-standalone-metastore-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at 
org.apache.hive.hcatalog.listener.DummyRawStoreFailEvent.addNotificationEvent(DummyRawStoreFailEvent.java:819)
 [test-classes/:?]
{code}

This used to work before - I am not sure what actually changed in the test 
setup. [~vihangk1] any idea?

> Use Datanucleus to serialize notification updates
> -------------------------------------------------
>
>                 Key: HIVE-18768
>                 URL: https://issues.apache.org/jira/browse/HIVE-18768
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.0.2, 3.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: Alexander Kolbasov
>            Priority: Major
>         Attachments: HIVE-18768.01.patch, HIVE-18768.02.patch
>
>
> HIVE-16886 added code to serialize notification updates using LOCK FOR 
> UPDATE. It turns out that there is a simpler way - see HIVE-18526. The goal 
> of this JIRA is to use the approach from HIVE-18526 - Datanucleus based 
> solution.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to