You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2020/12/30 03:25:16 UTC

[GitHub] [kylin] fengpod commented on a change in pull request #1494: KYLIN-4833 create hfile on hadoop hdfs and distcp to hbase hdfs

fengpod commented on a change in pull request #1494:
URL: https://github.com/apache/kylin/pull/1494#discussion_r549922369



##########
File path: storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/HBaseJobSteps.java
##########
@@ -63,6 +64,13 @@ public HadoopShellExecutable createCreateHTableStep(String jobId, CuboidModeEnum
         appendExecCmdParameters(cmd, BatchConstants.ARG_SEGMENT_ID, seg.getUuid());
         appendExecCmdParameters(cmd, BatchConstants.ARG_PARTITION,
                 getRowkeyDistributionOutputPath(jobId) + "/part-r-00000");
+        if(this.seg.getConfig().isHFileDistCP()){
+            String partitionOutputPath = getRealizationRootPath(jobId) + "/rowkey_stats/part-r-00000_hfile";
+            appendExecCmdParameters(cmd, BatchConstants.ARG_PARTITION, partitionOutputPath);
+        }else {
+            appendExecCmdParameters(cmd, BatchConstants.ARG_PARTITION,

Review comment:
       new commit fixed this




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org