Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3289

Refactor the storage garbage clean up code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • v2.3.0
    • v2.4.0
    • None
    • None

    Description

      Kylin will produce some garbage data in storage when it runs.

      Now, the clean up tool "kylin.sh org.apache.kylin.tool.StorageCleanupJob" can show what is garbage data or clean up the garbage by setting options "–delete false" or "delete true".

      But Kylin can't show the size of garbage data for users.

      This reconfiguration adds some member variables and methods recording the  garbage size in the detection process. 

      After clean up job running over, Kylin can get the information about garbage size.

      Attachments

        Activity

          People

            Guangyao Li Guangyao Li
            Guangyao Li Guangyao Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: