[ https://issues.apache.org/jira/browse/KYLIN-4644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159600#comment-17159600 ]
wangrupeng commented on KYLIN-4644: ----------------------------------- Which will be deleted: * {{temp job files}} hdfs:///kylin/${metadata_url}/${project}/job_tmp * {{none used segment cuboid files}} hdfs:///kylin/${metadata_url}/${project}/${cube_name}/${non_used_segment} Usage: # {{ Check which resources can be cleanup, this will not remove anything:}} {code:java} export KYLIN_HOME=/path/to/kylin_home ${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.tool.StorageCleanupJob --delete false{code} {{ 2. You can pickup 1 or 2 resources to check whether they’re no longer be referred; Then add the “--delete true” option to start the cleanup:}} {code:java} ${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.tool.StorageCleanupJob --delete true {code} > New tool to clean up intermediate files for Kylin 4.0 > ------------------------------------------------------ > > Key: KYLIN-4644 > URL: https://issues.apache.org/jira/browse/KYLIN-4644 > Project: Kylin > Issue Type: Bug > Components: Client - CLI > Affects Versions: v4.0.0-beta > Reporter: wangrupeng > Assignee: wangrupeng > Priority: Minor > Fix For: v4.0.0-beta > > Original Estimate: 72h > Remaining Estimate: 72h > > As the change of storage, Kylin 4.x needs a new tool to clean up intermediate > data and temporary files generated during cube building. -- This message was sent by Atlassian Jira (v8.3.4#803005)