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

Pravin Sinha commented on HIVE-25137:
-------------------------------------

+1

> 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: Yu-Wen Lai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {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)

Reply via email to