Java Code Examples for org.apache.kylin.job.impl.threadpool.DefaultScheduler#destroyInstance()
The following examples show how to use
org.apache.kylin.job.impl.threadpool.DefaultScheduler#destroyInstance() .
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: BuildCubeWithStream.java From kylin-on-parquet-v2 with Apache License 2.0 | 5 votes |
public void after() { if (kafkaServer != null) { kafkaServer.stop(); } ZKUtil.cleanZkPath(kafkaZkPath); DefaultScheduler.destroyInstance(); }
Example 2
Source File: BuildCubeWithStreamV2.java From kylin-on-parquet-v2 with Apache License 2.0 | 5 votes |
public void after() throws Exception { coordinator.unAssignCube(CUBE_NAME); streamingServer.removeFromReplicaSet(); if (kafkaServer != null) { kafkaServer.stop(); } ZKUtil.cleanZkPath(kafkaZkPath); DefaultScheduler.destroyInstance(); }
Example 3
Source File: BuildCubeWithStream.java From kylin with Apache License 2.0 | 5 votes |
public void after() { if (kafkaServer != null) { kafkaServer.stop(); } ZKUtil.cleanZkPath(kafkaZkPath); DefaultScheduler.destroyInstance(); }
Example 4
Source File: BuildCubeWithStreamV2.java From kylin with Apache License 2.0 | 5 votes |
public void after() throws Exception { coordinator.unAssignCube(CUBE_NAME); streamingServer.removeFromReplicaSet(); if (kafkaServer != null) { kafkaServer.stop(); } ZKUtil.cleanZkPath(kafkaZkPath); DefaultScheduler.destroyInstance(); }
Example 5
Source File: BuildCubeWithEngine.java From kylin-on-parquet-v2 with Apache License 2.0 | 4 votes |
public void after() { DefaultScheduler.destroyInstance(); }
Example 6
Source File: LocalWithSparkSessionTest.java From kylin-on-parquet-v2 with Apache License 2.0 | 4 votes |
@After public void after() { DefaultScheduler.destroyInstance(); this.cleanupTestMetadata(); restoreAllSystemProp(); }
Example 7
Source File: BuildCubeWithEngine.java From kylin with Apache License 2.0 | 4 votes |
public void after() { DefaultScheduler.destroyInstance(); }