Revert "KYLIN-2147 Move the creation of HTable after cube be built"

This reverts commit b6f608f7e145b32f2c9c50bb2b719b40c1c2eb8b.


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/df9a8086
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/df9a8086
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/df9a8086

Branch: refs/heads/v1.6.0-rc1-hbase1.x
Commit: df9a80869701f93937b074bae7d73167420208bd
Parents: 669482d
Author: shaofengshi <shaofeng...@apache.org>
Authored: Thu Nov 3 13:27:44 2016 +0800
Committer: shaofengshi <shaofeng...@apache.org>
Committed: Thu Nov 3 13:27:44 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/df9a8086/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()));
             }

Reply via email to