KYLIN-3727 Check if where is no directories, then finish job successf…#494
Merged
shaofengshi merged 1 commit intoapache:masterfrom Mar 1, 2019
Merged
KYLIN-3727 Check if where is no directories, then finish job successf…#494shaofengshi merged 1 commit intoapache:masterfrom
shaofengshi merged 1 commit intoapache:masterfrom
Conversation
|
Can one of the admins verify this patch? |
Codecov Report
@@ Coverage Diff @@
## master #494 +/- ##
=========================================
Coverage ? 24.47%
Complexity ? 4963
=========================================
Files ? 1144
Lines ? 69444
Branches ? 9902
=========================================
Hits ? 16994
Misses ? 50731
Partials ? 1719
Continue to review full report at Codecov.
|
Pull Request Test Coverage Report for Build 4184
💛 - Coveralls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ully.
Input path for HBase load consists
_SUCCESS
F1
F2
etc...
So, check if no folders exist, then skip loading step.
Test for non-empty cube:
2019-02-28 14:56:20,333 INFO [Scheduler 136668115 Job 0143a095-92fe-c8e0-a919-428682e2f15d-238] execution.ExecutableManager:453 : job id:0143a095-92fe-c8e0-a919-428682e2f15d-08 from READY to RUNNING
2019-02-28 14:56:20,354 INFO [Scheduler 136668115 Job 0143a095-92fe-c8e0-a919-428682e2f15d-238] common.HadoopShellExecutable:59 : parameters of the HadoopShellExecutable: -input hdfs://***:8020/kylin/kylin_metadata/kylin-0143a095-92fe-c8e0-a919-428682e2f15d/ORCTESTCUBE/hfile -htablename KYLIN_D9OV6ZF44W -cubename ORCTESTCUBE
2019-02-28 14:56:25,416 DEBUG [Scheduler 136668115 Job 0143a095-92fe-c8e0-a919-428682e2f15d-238] steps.BulkLoadJob:95 : Start to run LoadIncrementalHFiles
Test in my env for empty cube:
2019-02-28 14:42:15,699 INFO [Scheduler 136668115 Job 199180ac-8ab3-708f-c89c-6f2166a7d27d-102] execution.ExecutableManager:453 : job id:199180ac-8ab3-708f-c89c-6f2166a7d27d-08 from READY to RUNNING
2019-02-28 14:42:15,784 INFO [Scheduler 136668115 Job 199180ac-8ab3-708f-c89c-6f2166a7d27d-102] common.HadoopShellExecutable:59 : parameters of the HadoopShellExecutable: -input hdfs://***:8020/kylin/kylin_metadata/kylin-199180ac-8ab3-708f-c89c-6f2166a7d27d/kylin_sales_cube_orc/hfile -htablename KYLIN_MP2UWUVS0X -cubename kylin_sales_cube_orc
2019-02-28 14:42:21,402 DEBUG [Scheduler 136668115 Job 199180ac-8ab3-708f-c89c-6f2166a7d27d-102] steps.BulkLoadJob:100 : Nothing to load, cube is empty