You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yu-Wen Lai (Jira)" <ji...@apache.org> on 2021/06/24 17:26:00 UTC

[jira] [Commented] (HIVE-25137) getAllWriteEventInfo should go through the HMS client instead of using RawStore directly

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

Yu-Wen Lai commented on HIVE-25137:
-----------------------------------

[~pmadhukar] There is no update on the PR for several weeks. Will you follow up the PR? If you won't, could I pick up this task?

> getAllWriteEventInfo should go through the HMS client instead of using RawStore directly
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-25137
>                 URL: https://issues.apache.org/jira/browse/HIVE-25137
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Pratyush Madhukar
>            Assignee: Pratyush Madhukar
>            Priority: Major
>
> {code:java}
> private List<WriteEventInfo> getAllWriteEventInfo(Context withinContext) throws Exception {
>     String contextDbName = StringUtils.normalizeIdentifier(withinContext.replScope.getDbName());
>     RawStore rawStore = HiveMetaStore.HMSHandler.getMSForConf(withinContext.hiveConf);
>     List<WriteEventInfo> writeEventInfoList
>             = rawStore.getAllWriteEventInfo(eventMessage.getTxnId(), contextDbName, null);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)