[
https://issues.apache.org/jira/browse/HIVE-19124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450388#comment-16450388
]
Gopal V commented on HIVE-19124:
--------------------------------
You need to modify the TxnUtils to accept a ValidReaderWriteIdList and rewrite
the current impl as
{code}
return
createValidCompactWriteIdList(createValidReaderWriteIdList(tableWriteIds));
{code}
And then you don't need a new metastore object.
ValidReaderWriteIdList & ValidCompactorWriteIdList extends
ValidReaderWriteIdList
You need a ValidReaderWriteIdList.get to pass into compactionWriteIds.
> implement a basic major compactor for MM tables
> -----------------------------------------------
>
> Key: HIVE-19124
> URL: https://issues.apache.org/jira/browse/HIVE-19124
> Project: Hive
> Issue Type: Bug
> Components: Transactions
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Priority: Major
> Labels: mm-gap-2
> Attachments: HIVE-19124.01.patch, HIVE-19124.02.patch,
> HIVE-19124.03.patch, HIVE-19124.03.patch, HIVE-19124.04.patch,
> HIVE-19124.05.patch, HIVE-19124.06.patch, HIVE-19124.07.patch,
> HIVE-19124.patch
>
>
> For now, it will run a query directly and only major compactions will be
> supported.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)