You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2015/06/02 16:17:09 UTC
incubator-kylin git commit: KYLIN-805 bug fix
Repository: incubator-kylin
Updated Branches:
refs/heads/0.8.0 f2d6c13c5 -> 6d6a7c1c5
KYLIN-805 bug fix
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/6d6a7c1c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/6d6a7c1c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/6d6a7c1c
Branch: refs/heads/0.8.0
Commit: 6d6a7c1c5005f1858cd8e493f45659fb96595947
Parents: f2d6c13
Author: shaofengshi <sh...@apache.org>
Authored: Tue Jun 2 22:17:00 2015 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Tue Jun 2 22:17:00 2015 +0800
----------------------------------------------------------------------
.../java/org/apache/kylin/job/cube/GarbageCollectionStep.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/6d6a7c1c/job/src/main/java/org/apache/kylin/job/cube/GarbageCollectionStep.java
----------------------------------------------------------------------
diff --git a/job/src/main/java/org/apache/kylin/job/cube/GarbageCollectionStep.java b/job/src/main/java/org/apache/kylin/job/cube/GarbageCollectionStep.java
index ec8ca3a..eb7d1d3 100644
--- a/job/src/main/java/org/apache/kylin/job/cube/GarbageCollectionStep.java
+++ b/job/src/main/java/org/apache/kylin/job/cube/GarbageCollectionStep.java
@@ -19,7 +19,6 @@
package org.apache.kylin.job.cube;
import com.google.common.collect.Lists;
-import jodd.util.StringUtil;
import org.apache.commons.lang.StringUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
@@ -59,7 +58,7 @@ public class GarbageCollectionStep extends AbstractExecutable {
StringBuffer output = new StringBuffer();
final String hiveTable = this.getOldHiveTable();
- if (StringUtil.isNotEmpty(hiveTable)) {
+ if (StringUtils.isNotEmpty(hiveTable)) {
final String dropHiveCMD = "hive -e \"DROP TABLE IF EXISTS " + hiveTable + ";\"";
ShellCmdOutput shellCmdOutput = new ShellCmdOutput();
try {