[ https://issues.apache.org/jira/browse/KYLIN-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724751#comment-14724751 ]
Shaofeng SHI commented on KYLIN-901: ------------------------------------ A quick way to run this cleanup: cd $KYLIN_HOME ./bin/metastore.sh clean This will report the garbage that can be cleaned from metadata store; Take a backup and then run the clean with delete option: ./bin/metastore.sh backup ./bin/metastore.sh clean --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, v1.1 > > > 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)