Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3725 Add support for per VIEW level TTLs in addition to table level TTLs
  3. PHOENIX-5592

MapReduce job to asynchronously delete rows where the VIEW_TTL has expired.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      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.

       

      Attachments

        1. PHOENIX-5592.4.x.v4.patch
          150 kB
          Xinyi Yan
        2. PHOENIX-5592.master.v3.patch
          4 kB
          Xinyi Yan
        3. PHOENIX-5592.master.v4.patch
          152 kB
          Xinyi Yan

        Issue Links

          Activity

            People

              yanxinyi Xinyi Yan
              yanxinyi Xinyi Yan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h
                  7h