You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Xinyi Yan (Jira)" <ji...@apache.org> on 2019/11/26 18:20:00 UTC

[jira] [Created] (PHOENIX-5592) MapReduce job to asynchronously delete rows where the VIEW_TTL has expired.

Xinyi Yan created PHOENIX-5592:
----------------------------------

             Summary: 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


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.3.4#803005)