You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2019/03/04 10:46:18 UTC
[kylin] branch master updated (5cd0909 -> a5e0842)
This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git.
from 5cd0909 KYLIN-3838 Fix retry mechanism is invalid when build with spark
new 30ef767 KYLIN-3820 Add a curator-based scheduler
new 2688b82 KYLIN-3834, add monitor for curator-based scheduler.
new a5e0842 Minor, change travis ci log level to INFO
The 7643 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.travis.yml | 2 +
build/bin/kylin.sh | 1 +
.../org/apache/kylin/common/KylinConfigBase.java | 16 ++
.../java/org/apache/kylin/common/ServerMode.java | 71 ++++++
.../src/main/resources/kylin-defaults.properties | 3 +-
core-job/pom.xml | 15 ++
.../job/impl/curator/CuratorLeaderSelector.java | 116 +++++++++
.../kylin/job/impl/curator/CuratorScheduler.java | 274 +++++++++++++++++++++
.../impl/curator/CuratorLeaderSelectorTest.java | 107 ++++++++
.../job/impl/curator/CuratorSchedulerTest.java | 137 +++++++++++
.../kylin/job/impl/curator/ExampleServer.java | 65 +++++
examples/test_case_data/sandbox/kylin.properties | 2 +-
pom.xml | 22 +-
13 files changed, 819 insertions(+), 12 deletions(-)
create mode 100644 core-common/src/main/java/org/apache/kylin/common/ServerMode.java
create mode 100644 core-job/src/main/java/org/apache/kylin/job/impl/curator/CuratorLeaderSelector.java
create mode 100644 core-job/src/main/java/org/apache/kylin/job/impl/curator/CuratorScheduler.java
create mode 100644 core-job/src/test/java/org/apache/kylin/job/impl/curator/CuratorLeaderSelectorTest.java
create mode 100644 core-job/src/test/java/org/apache/kylin/job/impl/curator/CuratorSchedulerTest.java
create mode 100644 core-job/src/test/java/org/apache/kylin/job/impl/curator/ExampleServer.java