Java Code Examples for org.apache.kylin.job.constant.JobStepStatusEnum#DISCARDED
The following examples show how to use
org.apache.kylin.job.constant.JobStepStatusEnum#DISCARDED .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JobInstanceExtractor.java From kylin-on-parquet-v2 with Apache License 2.0 | 6 votes |
private JobStepStatusEnum parseToJobStepStatus(ExecutableState state) { switch (state) { case READY: return JobStepStatusEnum.PENDING; case RUNNING: return JobStepStatusEnum.RUNNING; case ERROR: return JobStepStatusEnum.ERROR; case DISCARDED: return JobStepStatusEnum.DISCARDED; case SUCCEED: return JobStepStatusEnum.FINISHED; case STOPPED: default: throw new RuntimeException("invalid state:" + state); } }
Example 2
Source File: JobInfoConverter.java From kylin-on-parquet-v2 with Apache License 2.0 | 6 votes |
public static JobStepStatusEnum parseToJobStepStatus(ExecutableState state) { switch (state) { case READY: return JobStepStatusEnum.PENDING; case RUNNING: return JobStepStatusEnum.RUNNING; case ERROR: return JobStepStatusEnum.ERROR; case DISCARDED: return JobStepStatusEnum.DISCARDED; case SUCCEED: return JobStepStatusEnum.FINISHED; case STOPPED: return JobStepStatusEnum.STOPPED; default: throw new RuntimeException("invalid state:" + state); } }
Example 3
Source File: JobInstanceExtractor.java From kylin with Apache License 2.0 | 6 votes |
private JobStepStatusEnum parseToJobStepStatus(ExecutableState state) { switch (state) { case READY: return JobStepStatusEnum.PENDING; case RUNNING: return JobStepStatusEnum.RUNNING; case ERROR: return JobStepStatusEnum.ERROR; case DISCARDED: return JobStepStatusEnum.DISCARDED; case SUCCEED: return JobStepStatusEnum.FINISHED; case STOPPED: default: throw new RuntimeException("invalid state:" + state); } }
Example 4
Source File: JobInfoConverter.java From kylin with Apache License 2.0 | 6 votes |
public static JobStepStatusEnum parseToJobStepStatus(ExecutableState state) { switch (state) { case READY: return JobStepStatusEnum.PENDING; case RUNNING: return JobStepStatusEnum.RUNNING; case ERROR: return JobStepStatusEnum.ERROR; case DISCARDED: return JobStepStatusEnum.DISCARDED; case SUCCEED: return JobStepStatusEnum.FINISHED; case STOPPED: return JobStepStatusEnum.STOPPED; default: throw new RuntimeException("invalid state:" + state); } }
Example 5
Source File: JobService.java From Kylin with Apache License 2.0 | 6 votes |
private JobStepStatusEnum parseToJobStepStatus(ExecutableState state) { switch (state) { case READY: return JobStepStatusEnum.PENDING; case RUNNING: return JobStepStatusEnum.RUNNING; case ERROR: return JobStepStatusEnum.ERROR; case DISCARDED: return JobStepStatusEnum.DISCARDED; case SUCCEED: return JobStepStatusEnum.FINISHED; case STOPPED: default: throw new RuntimeException("invalid state:" + state); } }