hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Sherman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20601) EnvironmentContext null in ALTER_PARTITION event in DbNotificationListener
Date Tue, 25 Sep 2018 00:38:00 GMT

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

Andrew Sherman commented on HIVE-20601:
---------------------------------------

+1 LGTM pending some clean test runs

> EnvironmentContext null in ALTER_PARTITION event in DbNotificationListener
> --------------------------------------------------------------------------
>
>                 Key: HIVE-20601
>                 URL: https://issues.apache.org/jira/browse/HIVE-20601
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 3.0.0, 4.0.0
>            Reporter: Bharathkrishna Guruvayoor Murali
>            Assignee: Bharathkrishna Guruvayoor Murali
>            Priority: Major
>         Attachments: HIVE-20601.1.branch-3.patch, HIVE-20601.1.patch
>
>
> Cause : EnvironmentContext not passed here:
> [https://github.com/apache/hive/blob/36c33ca066c99dfdb21223a711c0c3f33c85b943/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java#L726]
>  
> It will be useful to have the environmentContext passed to DbNotificationListener in
this case, to know if the alter happened due to a stat change.



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

Mime
View raw message