Revert "KYLIN-2147 Move the creation of HTable after cube be built"
This reverts commit 2bf5697da031dba21d2fb863018512fd89147402. Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/d9c118bc Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/d9c118bc Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/d9c118bc Branch: refs/heads/KYLIN-1971 Commit: d9c118bccab391b0f4155e6663e00b29074d5835 Parents: f930472 Author: shaofengshi <[email protected]> Authored: Thu Nov 3 13:25:55 2016 +0800 Committer: shaofengshi <[email protected]> Committed: Thu Nov 3 13:26:21 2016 +0800 ---------------------------------------------------------------------- .../apache/kylin/storage/hbase/steps/HBaseMROutput2Transition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/d9c118bc/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/HBaseMROutput2Transition.java ---------------------------------------------------------------------- diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/HBaseMROutput2Transition.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/HBaseMROutput2Transition.java index a063efe..c4df354 100644 --- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/HBaseMROutput2Transition.java +++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/HBaseMROutput2Transition.java @@ -49,11 +49,11 @@ public class HBaseMROutput2Transition implements IMROutput2 { @Override public void addStepPhase2_BuildDictionary(DefaultChainedExecutable jobFlow) { + jobFlow.addTask(steps.createCreateHTableStepWithStats(jobFlow.getId())); } @Override public void addStepPhase3_BuildCube(DefaultChainedExecutable jobFlow) { - jobFlow.addTask(steps.createCreateHTableStepWithStats(jobFlow.getId())); jobFlow.addTask(steps.createConvertCuboidToHfileStep(jobFlow.getId())); jobFlow.addTask(steps.createBulkLoadStep(jobFlow.getId())); }
