From 90eaa5d7e22d2212f330ddab66ee570a532f453d Mon Sep 17 00:00:00 2001 From: John Zhao Date: Mon, 29 Feb 2016 15:19:41 -0800 Subject: [PATCH] KYLIN-1459 Update documents due to StorageCleanupJob was moved to package org.apache.kylin.storage.hbase.util --- website/_docs2/howto/howto_cleanup_storage.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/_docs2/howto/howto_cleanup_storage.md b/website/_docs2/howto/howto_cleanup_storage.md index f440d8b..8ccab53 100644 --- a/website/_docs2/howto/howto_cleanup_storage.md +++ b/website/_docs2/howto/howto_cleanup_storage.md @@ -3,8 +3,8 @@ layout: docs2 title: How to Cleanup Storage (HDFS & HBase Tables) categories: howto permalink: /docs2/howto/howto_cleanup_storage.html -version: v0.7.2 -since: v0.7.1 +version: v2 +since: v2 --- Kylin will generate intermediate files in HDFS during the cube building; Besides, when purge/drop/merge cubes, some HBase tables may be left in HBase and will no longer be queried; Although Kylin has started to do some @@ -13,11 +13,11 @@ automated garbage collection, it might not cover all cases; You can do an offlin Steps: 1. Check which resources can be cleanup, this will not remove anything: {% highlight Groff markup %} -hbase org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete false +hbase org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.storage.hbase.util.StorageCleanupJob --delete false {% endhighlight %} Here please replace (version) with the specific Kylin jar version in your installation; 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: {% highlight Groff markup %} -hbase org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete true +hbase org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.storage.hbase.util.StorageCleanupJob --delete true {% endhighlight %} -On finish, the intermediate HDFS location and HTables will be dropped; \ No newline at end of file +On finish, the intermediate HDFS location and HTables will be dropped; -- 2.5.4 (Apple Git-61)