[ 
https://issues.apache.org/jira/browse/KYLIN-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636396#comment-14636396
 ] 

Shaofeng SHI commented on KYLIN-901:
------------------------------------

Run a check:

hbase org.apache.hadoop.util.RunJar $KYLIN_HOME/lib/kylin-job-x.x.x.jar 
org.apache.kylin.job.hadoop.cube.MetadataCleanupJob

Do the cleanup:

hbase org.apache.hadoop.util.RunJar $KYLIN_HOME/lib/kylin-job-x.x.x.jar 
org.apache.kylin.job.hadoop.cube.MetadataCleanupJob --delete true


> Add tool for cleanup Kylin metadata storage
> -------------------------------------------
>
>                 Key: KYLIN-901
>                 URL: https://issues.apache.org/jira/browse/KYLIN-901
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Metadata
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>             Fix For: v0.8.1, v0.7.3
>
>
> Kylin persists some resources like dictionary, lookup table snapshots in the 
> metadata store, and will not cleanup them so far; As time goes on, some 
> resources became usless (as the cube segment be dropped or merged) but still 
> take space there; Need a tool to cleanup them, just like the 
> StorageCleanupJob;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to