[ https://issues.apache.org/jira/browse/PHOENIX-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749881#comment-17749881 ]
ASF GitHub Bot commented on PHOENIX-5592: ----------------------------------------- stoty closed pull request #762: PHOENIX-5592 MapReduce job to asynchronously delete rows where the VIEW_TTL has expired URL: https://github.com/apache/phoenix/pull/762 > MapReduce job to asynchronously delete rows where the VIEW_TTL has expired. > --------------------------------------------------------------------------- > > Key: PHOENIX-5592 > URL: https://issues.apache.org/jira/browse/PHOENIX-5592 > Project: Phoenix > Issue Type: Sub-task > Reporter: Xinyi Yan > Assignee: Xinyi Yan > Priority: Major > Fix For: 5.1.0, 4.16.0 > > Attachments: PHOENIX-5592.4.x.v4.patch, PHOENIX-5592.master.v3.patch, > PHOENIX-5592.master.v4.patch > > Time Spent: 7h > Remaining Estimate: 0h > > Find the entities from the system catalog which views have TTLs defined on > them. Spawn an MR job, whose splitter will create a map task. The mapper > issues “select count(1) from the entity and Inject TTL attributes and Delete > Hint during Map task. Since the current Phoniex MR framework doesn't support > this feature, PhoenixMultiViewReader, PhoenixMultiViewInputSplit, > PhoenixMultiViewInputFormat, and a few MR related util classes need to > implement. > -- This message was sent by Atlassian Jira (v8.20.10#820010)