Repository: kylin Updated Branches: refs/heads/master bb1cbda97 -> ef740132f
minor refactor Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/ef740132 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/ef740132 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/ef740132 Branch: refs/heads/master Commit: ef740132f09cea11ea758a57f478750e3ce1025c Parents: bb1cbda Author: Hongbin Ma <[email protected]> Authored: Thu Jul 14 16:34:48 2016 +0800 Committer: Hongbin Ma <[email protected]> Committed: Thu Jul 14 16:34:48 2016 +0800 ---------------------------------------------------------------------- .../org/apache/kylin/storage/hbase/util/StorageCleanupJob.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/ef740132/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/StorageCleanupJob.java ---------------------------------------------------------------------- diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/StorageCleanupJob.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/StorageCleanupJob.java index 214375a..eb000e9 100644 --- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/StorageCleanupJob.java +++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/StorageCleanupJob.java @@ -60,12 +60,12 @@ import org.slf4j.LoggerFactory; public class StorageCleanupJob extends AbstractApplication { @SuppressWarnings("static-access") - private static final Option OPTION_DELETE = OptionBuilder.withArgName("delete").hasArg().isRequired(false).withDescription("Delete the unused storage").create("delete"); + protected static final Option OPTION_DELETE = OptionBuilder.withArgName("delete").hasArg().isRequired(false).withDescription("Delete the unused storage").create("delete"); protected static final Logger logger = LoggerFactory.getLogger(StorageCleanupJob.class); public static final int TIME_THRESHOLD_DELETE_HTABLE = 10; // Unit minute - boolean delete = false; + protected boolean delete = false; protected static ExecutableManager executableManager = ExecutableManager.getInstance(KylinConfig.getInstanceFromEnv()); private void cleanUnusedHBaseTables(Configuration conf) throws IOException {
