diff --git a/README.md b/README.md index 776930872a..497a02f83d 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ ElasticJob is a distributed scheduling solution consisting of two separate projects, Lite and Cloud. -ElasticJob Lite is a lightweight, decentralized solution that provides distributed task sharding services; -ElasticJob Cloud is a Mesos framework which use Mesos + Docker(todo) to manage and isolate resources and processes. +ElasticJob-Lite is a lightweight, decentralized solution that provides distributed task sharding services; +ElasticJob-Cloud is a Mesos framework which use Mesos + Docker(todo) to manage and isolate resources and processes. Elasticjob uses a unified job API for each product. Developers only need code one time and can deploy at will. @@ -26,13 +26,13 @@ Welcome communicate with community via [mail list](mailto:dev@shardingsphere.apa ## Architecture -### ElasticJob Lite +### ElasticJob-Lite -![ElasticJob Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) +![ElasticJob-Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) -### ElasticJob Cloud +### ElasticJob-Cloud -![ElasticJob Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) +![ElasticJob-Cloud Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) ## Features diff --git a/README_ZH.md b/README_ZH.md index eac373c85d..0294f28e87 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -4,10 +4,10 @@ [![Stargazers over time](https://starchart.cc/apache/shardingsphere-elasticjob.svg)](https://starchart.cc/apache/shardingsphere-elasticjob) -ElasticJob 是一个分布式调度解决方案,由 2 个相互独立的子项目 ElasticJob Lite 和 ElasticJob Cloud 组成。 +ElasticJob 是一个分布式调度解决方案,由 2 个相互独立的子项目 ElasticJob-Lite 和 ElasticJob-Cloud 组成。 -ElasticJob Lite 定位为轻量级无中心化解决方案,使用 jar 的形式提供分布式任务的协调服务; -ElasticJob Cloud 使用 Mesos + Docker(TODO)的解决方案,额外提供资源治理、应用分发以及进程隔离等服务。 +ElasticJob-Lite 定位为轻量级无中心化解决方案,使用 jar 的形式提供分布式任务的协调服务; +ElasticJob-Cloud 使用 Mesos + Docker(TODO)的解决方案,额外提供资源治理、应用分发以及进程隔离等服务。 ElasticJob 的各个产品使用统一的作业 API,开发者仅需要一次开发,即可随意部署。 @@ -24,13 +24,13 @@ ElasticJob 已于 2020 年 5 月 28 日成为 [Apache ShardingSphere](https://sh ## 架构图 -### ElasticJob Lite +### ElasticJob-Lite -![ElasticJob Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) +![ElasticJob-Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) -### ElasticJob Cloud +### ElasticJob-Cloud -![ElasticJob Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) +![ElasticJob-Cloud Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) ## 功能列表 diff --git a/ROADMAP.md b/ROADMAP.md deleted file mode 100644 index 97f5c6669a..0000000000 --- a/ROADMAP.md +++ /dev/null @@ -1,41 +0,0 @@ -# Roadmap - -- [x] Unified Job Config API - - [x] Core Config - - [x] Type Config - - [x] Root Config -- [x] Job Types - - [x] Simple - - [x] Dataflow - - [x] Script - - [ ] Http -- [x] Event Trace - - [x] Event Publisher - - [x] Database Event Listener - - [ ] Other Event Listener -- [ ] Unified Schedule API -- [ ] Unified Resource API -- [x] Distributed Features - - [x] High Availability - - [x] Elastic scale in/out - - [x] Failover - - [x] Misfire - - [x] Idempotency - - [x] Reconcile -- [x] Registry Center - - [x] Zookeeper - - [ ] Other Registry Center Supported -- [x] Lifecycle Management - - [x] Add/Remove - - [x] Pause/Resume - - [x] Disable/Enable - - [x] Shutdown - - [x] Restful API - - [x] Web Console -- [x] Job Dependency - - [x] Listener - - [ ] Workflow - - [ ] DAG -- [x] Spring Integrate - - [x] Namespace - - [x] Bean Injection diff --git a/docs/content/dev-manual/roadmap.cn.md b/docs/content/dev-manual/roadmap.cn.md index 1c734751c9..f4fa4e55b2 100644 --- a/docs/content/dev-manual/roadmap.cn.md +++ b/docs/content/dev-manual/roadmap.cn.md @@ -23,7 +23,7 @@ chapter = true - [ ] Unified Schedule API - [ ] Unified Resource API -## ElasticJob Lite +## ElasticJob-Lite - [x] Distributed Features - [x] High Availability @@ -49,3 +49,49 @@ chapter = true - [x] Namespace - [x] Bean Injection - [ ] Spring Boot Starter + +## ElasticJob-Cloud +- [x] Transient Job + - [x] High Availability + - [x] Elastic scale in/out + - [x] Failover + - [x] Misfire + - [x] Idempotency +- [x] Daemon Job + - [x] High Availability + - [x] Elastic scale in/out + - [ ] Failover + - [ ] Misfire + - [x] Idempotency +- [x] Mesos Scheduler + - [x] High Availability + - [x] Reconcile + - [ ] Redis Based Queue Improvement + - [ ] Http Driver +- [x] Mesos Executor + - [x] Executor Reuse Pool + - [ ] Progress Reporting + - [ ] Health Detection + - [ ] Log Redirect +- [x] Lifecycle Management + - [x] Job Add/Remove + - [ ] Job Pause/Resume + - [x] Job Disable/Enable + - [ ] Job Shutdown + - [x] App Add/Remove + - [x] App Disable/Enable + - [x] Restful API + - [x] Web Console +- [ ] Job Dependency + - [ ] Listener + - [ ] Workflow + - [ ] DAG +- [x] Job Distribution + - [x] Mesos Based Distribution + - [ ] Docker Based Distribution +- [x] Resources Management + - [x] Resources Allocate + - [ ] Cross Data Center + - [ ] A/B Test +- [x] Spring Integrate + - [x] Bean Injection diff --git a/docs/content/dev-manual/roadmap.en.md b/docs/content/dev-manual/roadmap.en.md index 6a23e4549f..f5623d8388 100644 --- a/docs/content/dev-manual/roadmap.en.md +++ b/docs/content/dev-manual/roadmap.en.md @@ -23,7 +23,7 @@ chapter = true - [ ] Unified Schedule API - [ ] Unified Resource API -## ElasticJob Lite +## ElasticJob-Lite - [x] Distributed Features - [x] High Availability @@ -49,3 +49,49 @@ chapter = true - [x] Namespace - [x] Bean Injection - [ ] Spring Boot Starter + +## ElasticJob-Cloud +- [x] Transient Job + - [x] High Availability + - [x] Elastic scale in/out + - [x] Failover + - [x] Misfire + - [x] Idempotency +- [x] Daemon Job + - [x] High Availability + - [x] Elastic scale in/out + - [ ] Failover + - [ ] Misfire + - [x] Idempotency +- [x] Mesos Scheduler + - [x] High Availability + - [x] Reconcile + - [ ] Redis Based Queue Improvement + - [ ] Http Driver +- [x] Mesos Executor + - [x] Executor Reuse Pool + - [ ] Progress Reporting + - [ ] Health Detection + - [ ] Log Redirect +- [x] Lifecycle Management + - [x] Job Add/Remove + - [ ] Job Pause/Resume + - [x] Job Disable/Enable + - [ ] Job Shutdown + - [x] App Add/Remove + - [x] App Disable/Enable + - [x] Restful API + - [x] Web Console +- [ ] Job Dependency + - [ ] Listener + - [ ] Workflow + - [ ] DAG +- [x] Job Distribution + - [x] Mesos Based Distribution + - [ ] Docker Based Distribution +- [x] Resources Management + - [x] Resources Allocate + - [ ] Cross Data Center + - [ ] A/B Test +- [x] Spring Integrate + - [x] Bean Injection diff --git a/docs/content/downloads/_index.en.md b/docs/content/downloads/_index.en.md index 69557bea9d..6b32ffcad1 100644 --- a/docs/content/downloads/_index.en.md +++ b/docs/content/downloads/_index.en.md @@ -15,8 +15,8 @@ The downloads are distributed via mirror sites and should be checked for tamperi | Version | Release date | Description | Downloads | | - | - | - | - | | 3.0.0-alpha | Coming soon | Source codes | [[src]]() [[asc]]() [[sha512]]() | -| | | ElasticJob Lite Binary Distribution | [[tar]]() [[asc]]() [[sha512]]() | -| | | ElasticJob Lite Console Binary Distribution | [[tar]]() [[asc]]() [[sha512]]() | +| | | ElasticJob-Lite Binary Distribution | [[tar]]() [[asc]]() [[sha512]]() | +| | | ElasticJob-Lite Console Binary Distribution | [[tar]]() [[asc]]() [[sha512]]() | | | | ElasticJob-Cloud Binary Distribution | [[tar]]() [[asc]]() [[sha512]]() | ## All releases diff --git a/docs/content/faq/_index.cn.md b/docs/content/faq/_index.cn.md index 5393b5e23b..e1bb618598 100644 --- a/docs/content/faq/_index.cn.md +++ b/docs/content/faq/_index.cn.md @@ -15,17 +15,17 @@ ElasticJob 使用 lombok 实现极简代码。关于更多使用和安装细节 回答: -ElasticJob Lite 采用无中心化设计,若每个客户端的配置不一致,不做控制的话,最后一个启动的客户端配置将会成为注册中心的最终配置。 +ElasticJob-Lite 采用无中心化设计,若每个客户端的配置不一致,不做控制的话,最后一个启动的客户端配置将会成为注册中心的最终配置。 -ElasticJob Lite 提出了 overwrite 概念,可通过 JobConfiguration 或 Spring 命名空间配置。 +ElasticJob-Lite 提出了 overwrite 概念,可通过 JobConfiguration 或 Spring 命名空间配置。 `overwrite=true` 即允许客户端配置覆盖注册中心,反之则不允许。 如果注册中心无相关作业的配置,则无论 overwrite 是否配置,客户端配置都将写入注册中心。 -## 3. 怀疑 ElasticJob Lite 在分布式环境中有问题,但无法重现又不能在线上环境调试,应该怎么做? +## 3. 怀疑 ElasticJob-Lite 在分布式环境中有问题,但无法重现又不能在线上环境调试,应该怎么做? 回答: -分布式问题非常难于调试和重现,为此 ElasticJob Lite 提供了 dump 命令。 +分布式问题非常难于调试和重现,为此 ElasticJob-Lite 提供了 dump 命令。 如果您怀疑某些场景出现问题,可参照[dump文档](/cn/user-manual/dump/)将作业运行时信息提交至社区。 ElasticJob 已将 IP 等敏感信息过滤,导出的信息可在公网安全传输。 @@ -48,13 +48,13 @@ ElasticJob 已将 IP 等敏感信息过滤,导出的信息可在公网安全 动态添加作业这个概念每个人理解不尽相同。 -ElasticJob Lite 为 jar 包,由开发或运维人员负责启动。启动时自动向注册中心注册作业信息并进行分布式协调,因此并不需要手工在注册中心填写作业信息。 +ElasticJob-Lite 为 jar 包,由开发或运维人员负责启动。启动时自动向注册中心注册作业信息并进行分布式协调,因此并不需要手工在注册中心填写作业信息。 但注册中心与作业部署机无从属关系,注册中心并不能控制将单点的作业分发至其他作业机,也无法将远程服务器未启动的作业启动。 -ElasticJob Lite 并不会包含 ssh 免密管理等功能。 +ElasticJob-Lite 并不会包含 ssh 免密管理等功能。 -ElasticJob Cloud 为 mesos 框架,由 mesos 负责作业启动和分发。 -但需要将作业打包上传,并调用 ElasticJob Cloud 提供的 REST API 写入注册中心。 -打包上传属于部署系统的范畴 ElasticJob Cloud 并未涉及。 +ElasticJob-Cloud 为 mesos 框架,由 mesos 负责作业启动和分发。 +但需要将作业打包上传,并调用 ElasticJob-Cloud 提供的 REST API 写入注册中心。 +打包上传属于部署系统的范畴 ElasticJob-Cloud 并未涉及。 综上所述,ElasticJob 已做了基本动态添加功能,但无法做到真正意义的完全自动化添加。 @@ -77,7 +77,7 @@ ElasticJob 并未包含 Spring 的依赖,请用户自行添加需要的版本 回答: -是的。新 ElasticJob Lite 的数据结构和原有结构完全兼容。 +是的。新 ElasticJob-Lite 的数据结构和原有结构完全兼容。 ## 9. 界面 Console 无法正常显示? diff --git a/docs/content/features/elastic.cn.md b/docs/content/features/elastic.cn.md index e97a2e6a98..d14eb0817b 100644 --- a/docs/content/features/elastic.cn.md +++ b/docs/content/features/elastic.cn.md @@ -27,19 +27,19 @@ ElasticJob 并不直接提供数据处理的功能,框架只会将分片项分 ## 分布式调度 -ElasticJob Lite 并无作业调度中心节点,而是基于部署作业框架的程序在到达相应时间点时各自触发调度。 +ElasticJob-Lite 并无作业调度中心节点,而是基于部署作业框架的程序在到达相应时间点时各自触发调度。 注册中心仅用于作业注册和监控信息存储。而主作业节点仅用于处理分片和清理等功能。 ## 高可用 -ElasticJob Lite 提供最安全的方式执行作业。将分片总数设置为 1,并使用多于 1 台的服务器执行作业,作业将会以 1 主 n 从的方式执行。 +ElasticJob-Lite 提供最安全的方式执行作业。将分片总数设置为 1,并使用多于 1 台的服务器执行作业,作业将会以 1 主 n 从的方式执行。 一旦执行作业的服务器崩溃,等待执行的服务器将会在下次作业启动时替补执行。开启失效转移功能效果更好,可以保证在本次作业执行时崩溃,备机立即启动替补执行。 ## 最大限度利用资源 -ElasticJob Lite 也提供最灵活的方式,最大限度的提高执行作业的吞吐量。将分片项设置为大于服务器的数量,最好是大于服务器倍数的数量,作业将会合理的利用分布式资源,动态的分配分片项。 +ElasticJob-Lite 也提供最灵活的方式,最大限度的提高执行作业的吞吐量。将分片项设置为大于服务器的数量,最好是大于服务器倍数的数量,作业将会合理的利用分布式资源,动态的分配分片项。 例如:3 台服务器,分成 10 片,则分片项分配结果为服务器 A=0,1,2;服务器 B=3,4,5;服务器 C=6,7,8,9。 如果服务器 C 崩溃,则分片项分配结果为服务器 A=0,1,2,3,4;服务器 B=5,6,7,8,9。在不丢失分片项的情况下,最大限度的利用现有资源提高吞吐量。 diff --git a/docs/content/features/resource.cn.md b/docs/content/features/resource.cn.md index 6d0c8277a2..281cb37007 100644 --- a/docs/content/features/resource.cn.md +++ b/docs/content/features/resource.cn.md @@ -5,11 +5,11 @@ weight = 2 chapter = true +++ -资源分配功能为 ElasticJob Cloud 所特有的功能。 +资源分配功能为 ElasticJob-Cloud 所特有的功能。 ## 作业运行模式 -ElasticJob Cloud 分为瞬时作业和常驻作业 2 种运行模式。 +ElasticJob-Cloud 分为瞬时作业和常驻作业 2 种运行模式。 ### 瞬时作业 @@ -23,7 +23,7 @@ ElasticJob Cloud 分为瞬时作业和常驻作业 2 种运行模式。 ## 调度器 -ElasticJob Cloud 基于 Mesos 的 Framework 开发,用于资源调度和应用分发,需要独立启动并提供服务。 +ElasticJob-Cloud 基于 Mesos 的 Framework 开发,用于资源调度和应用分发,需要独立启动并提供服务。 ## 作业应用 @@ -32,7 +32,7 @@ ElasticJob Cloud 基于 Mesos 的 Framework 开发,用于资源调度和应用 ## 作业 -即实际运行的具体任务,和 ElasticJob Lite 共用同样的作业生态。 +即实际运行的具体任务,和 ElasticJob-Lite 共用同样的作业生态。 在注册作业之前必须先注册作业应用。 ## 资源 diff --git a/docs/content/overview/_index.cn.md b/docs/content/overview/_index.cn.md index 07cae9e6fc..721a7fc2cc 100644 --- a/docs/content/overview/_index.cn.md +++ b/docs/content/overview/_index.cn.md @@ -11,9 +11,12 @@ chapter = true [![GitHub watchers](https://img.shields.io/github/watchers/apache/shardingsphere-elasticjob.svg?style=social&label=Watch)](https://github.com/apache/shardingsphere-elasticjob/watchers) [![Stargazers over time](https://starchart.cc/apache/shardingsphere-elasticjob.svg)](https://starchart.cc/apache/shardingsphere-elasticjob) -ElasticJob 是一个分布式调度解决方案,由 2 个相互独立的子项目 ElasticJob Lite 和 ElasticJob Cloud 组成。 +ElasticJob 是一个分布式调度解决方案,由 2 个相互独立的子项目 ElasticJob-Lite 和 ElasticJob-Cloud 组成。 -ElasticJob Lite 定位为轻量级无中心化解决方案,使用 jar 的形式提供分布式任务的协调服务。 +ElasticJob-Lite 定位为轻量级无中心化解决方案,使用 jar 的形式提供分布式任务的协调服务; +ElasticJob-Cloud 使用 Mesos + Docker(TODO)的解决方案,额外提供资源治理、应用分发以及进程隔离等服务。 + +ElasticJob 的各个产品使用统一的作业 API,开发者仅需要一次开发,即可随意部署。 ElasticJob 已于 2020 年 5 月 28 日成为 [Apache ShardingSphere](https://shardingsphere.apache.org/) 的子项目。 欢迎通过[邮件列表](mailto:dev@shardingsphere.apache.org)参与讨论。 @@ -28,13 +31,13 @@ ElasticJob 已于 2020 年 5 月 28 日成为 [Apache ShardingSphere](https://sh ## 架构图 -### ElasticJob Lite +### ElasticJob-Lite -![ElasticJob Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) +![ElasticJob-Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) -### ElasticJob Cloud +### ElasticJob-Cloud -![ElasticJob Cloud Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) +![ElasticJob-Cloud Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) ## 功能列表 diff --git a/docs/content/overview/_index.en.md b/docs/content/overview/_index.en.md index df7970172f..9512c60dcd 100644 --- a/docs/content/overview/_index.en.md +++ b/docs/content/overview/_index.en.md @@ -11,13 +11,13 @@ chapter = true [![GitHub watchers](https://img.shields.io/github/watchers/apache/shardingsphere-elasticjob.svg?style=social&label=Watch)](https://github.com/apache/shardingsphere-elasticjob/watchers) [![Stargazers over time](https://starchart.cc/apache/shardingsphere-elasticjob.svg)](https://starchart.cc/apache/shardingsphere-elasticjob) -ElasticJob is a distributed scheduled job solution. -It is composited from 2 independent sub projects: ElasticJob Lite and ElasticJob Cloud. +ElasticJob is a distributed scheduling solution consisting of two separate projects, Lite and Cloud. -ElasticJob Lite is a centre-less solution, use lightweight jar to coordinate distributed jobs. +ElasticJob-Lite is a lightweight, decentralized solution that provides distributed task sharding services; +ElasticJob-Cloud is a Mesos framework which use Mesos + Docker(todo) to manage and isolate resources and processes. -ElasticJob Lite and ElasticJob Cloud provide unified API. -Developers only need code one time, then decide to deploy Lite or Cloud as you want. +Elasticjob uses a unified job API for each product. +Developers only need code one time and can deploy at will. ElasticJob became an [Apache ShardingSphere](https://shardingsphere.apache.org/) Sub project on May 28 2020. @@ -33,13 +33,13 @@ Welcome communicate with community via [mail list](mailto:dev@shardingsphere.apa ## Architecture -### ElasticJob Lite +### ElasticJob-Lite -![ElasticJob Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) +![ElasticJob-Lite Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_lite.png) -### ElasticJob Cloud +### ElasticJob-Cloud -![ElasticJob Cloud Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) +![ElasticJob-Cloud Architecture](https://shardingsphere.apache.org/elasticjob/current/img/architecture/elasticjob_cloud.png) ## Features diff --git a/docs/content/quick-start/elasticjob-cloud.cn.md b/docs/content/quick-start/elasticjob-cloud.cn.md index c2f60fae3f..8251020a64 100644 --- a/docs/content/quick-start/elasticjob-cloud.cn.md +++ b/docs/content/quick-start/elasticjob-cloud.cn.md @@ -1,6 +1,6 @@ +++ pre = "2.2. " -title = "ElasticJob Cloud" +title = "ElasticJob-Cloud" weight = 2 chapter = true +++ diff --git a/docs/content/quick-start/elasticjob-cloud.en.md b/docs/content/quick-start/elasticjob-cloud.en.md index 3f8ba1d347..b0aefc233b 100644 --- a/docs/content/quick-start/elasticjob-cloud.en.md +++ b/docs/content/quick-start/elasticjob-cloud.en.md @@ -1,6 +1,6 @@ +++ pre = "2.2. " -title = "ElasticJob Cloud" +title = "ElasticJob-Cloud" weight = 2 chapter = true +++ diff --git a/docs/content/quick-start/elasticjob-lite.cn.md b/docs/content/quick-start/elasticjob-lite.cn.md index 02e6fa9872..b1642d107b 100644 --- a/docs/content/quick-start/elasticjob-lite.cn.md +++ b/docs/content/quick-start/elasticjob-lite.cn.md @@ -1,6 +1,6 @@ +++ pre = "2.1. " -title = "ElasticJob Lite" +title = "ElasticJob-Lite" weight = 1 chapter = true +++ diff --git a/docs/content/quick-start/elasticjob-lite.en.md b/docs/content/quick-start/elasticjob-lite.en.md index f66f218453..61af4d0636 100644 --- a/docs/content/quick-start/elasticjob-lite.en.md +++ b/docs/content/quick-start/elasticjob-lite.en.md @@ -1,6 +1,6 @@ +++ pre = "2.1. " -title = "ElasticJob Lite" +title = "ElasticJob-Lite" weight = 1 chapter = true +++ diff --git a/docs/content/user-manual/elasticjob-lite/deploy-guide.cn.md b/docs/content/user-manual/elasticjob-lite/deploy-guide.cn.md index 2bee7eec95..62eaea2add 100644 --- a/docs/content/user-manual/elasticjob-lite/deploy-guide.cn.md +++ b/docs/content/user-manual/elasticjob-lite/deploy-guide.cn.md @@ -7,9 +7,9 @@ chapter = true ## 应用部署 -1. 启动 ElasticJob Lite 指定注册中心的 Zookeeper。 +1. 启动 ElasticJob-Lite 指定注册中心的 Zookeeper。 -2. 运行包含 ElasticJob Lite 和业务代码的 jar 文件。不限于 jar 或 war 的启动方式。 +2. 运行包含 ElasticJob-Lite 和业务代码的 jar 文件。不限于 jar 或 war 的启动方式。 ## 运维平台和 RESTFul API 部署(可选) diff --git a/docs/content/user-manual/elasticjob-lite/dump.cn.md b/docs/content/user-manual/elasticjob-lite/dump.cn.md index 5fa47dba1e..05fb34b465 100644 --- a/docs/content/user-manual/elasticjob-lite/dump.cn.md +++ b/docs/content/user-manual/elasticjob-lite/dump.cn.md @@ -5,7 +5,7 @@ weight = 8 chapter = true +++ -使用 ElasticJob Lite 过程中可能会碰到一些分布式问题,导致作业运行不稳定。 +使用 ElasticJob-Lite 过程中可能会碰到一些分布式问题,导致作业运行不稳定。 由于无法在生产环境调试,通过 dump 命令可以把作业内部相关信息导出,方便开发者调试分析; 另外为了不泄露隐私,已将相关信息中的 IP 地址以 ip1, ip2... 的形式过滤,可以在互联网上公开传输环境信息,便于进一步完善 ElasticJob。 diff --git a/docs/content/user-manual/elasticjob-lite/event-trace.cn.md b/docs/content/user-manual/elasticjob-lite/event-trace.cn.md index 41f923a72b..bf50479cba 100644 --- a/docs/content/user-manual/elasticjob-lite/event-trace.cn.md +++ b/docs/content/user-manual/elasticjob-lite/event-trace.cn.md @@ -10,7 +10,7 @@ ElasticJob 目前提供了基于关系型数据库两种事件订阅方式记录 ## 通过代码配置开启事件追踪 -ElasticJob Lite 在配置中提供了 TracingConfiguration,目前支持数据库方式配置。 +ElasticJob-Lite 在配置中提供了 TracingConfiguration,目前支持数据库方式配置。 ```java // 初始化数据源 diff --git a/docs/content/user-manual/elasticjob-lite/execution-monitor.cn.md b/docs/content/user-manual/elasticjob-lite/execution-monitor.cn.md index 1cc954adfe..da597863e8 100644 --- a/docs/content/user-manual/elasticjob-lite/execution-monitor.cn.md +++ b/docs/content/user-manual/elasticjob-lite/execution-monitor.cn.md @@ -5,7 +5,7 @@ weight = 9 chapter = true +++ -通过监听 ElasticJob Lite 的 ZooKeeper 注册中心的几个关键节点即可完成作业运行状态监控功能。 +通过监听 ElasticJob-Lite 的 ZooKeeper 注册中心的几个关键节点即可完成作业运行状态监控功能。 ## 监听作业服务器存活 diff --git a/docs/content/user-manual/elasticjob-lite/job-api.cn.md b/docs/content/user-manual/elasticjob-lite/job-api.cn.md index fdbd5f07d6..e1c9680654 100644 --- a/docs/content/user-manual/elasticjob-lite/job-api.cn.md +++ b/docs/content/user-manual/elasticjob-lite/job-api.cn.md @@ -13,7 +13,7 @@ chapter = true ### b. Zookeeper -请使用Zookeeper 3.6.0 及其以上版本。[详情参见](https://zookeeper.apache.org/) +请使用 Zookeeper 3.6.0 及其以上版本。[详情参见](https://zookeeper.apache.org/) ### c. Maven @@ -21,7 +21,7 @@ chapter = true ## 1. 作业开发 -ElasticJob Lite 和 ElasticJob Cloud 提供统一作业接口,开发者仅需对业务作业进行一次开发,之后可根据不同的配置以及部署至不同的Lite或Cloud环境。 +ElasticJob-Lite 和 ElasticJob-Cloud 提供统一作业接口,开发者仅需对业务作业进行一次开发,之后可根据不同的配置以及部署至不同的 Lite 或 Cloud 环境。 ElasticJob 提供 Simple、Dataflow 和 Script 3 种作业类型。 方法参数shardingContext包含作业配置、片和运行时信息。可通过getShardingTotalCount(), getShardingItem()等方法分别获取分片总数,运行在本作业服务器的分片序列号等。 diff --git a/docs/content/user-manual/elasticjob-lite/web-console.cn.md b/docs/content/user-manual/elasticjob-lite/web-console.cn.md index 09f36badf9..9833810f3c 100644 --- a/docs/content/user-manual/elasticjob-lite/web-console.cn.md +++ b/docs/content/user-manual/elasticjob-lite/web-console.cn.md @@ -29,7 +29,7 @@ chapter = true ## 设计理念 -运维平台和 ElasticJob Lite 并无直接关系,是通过读取作业注册中心数据展现作业状态,或更新注册中心数据修改全局配置。 +运维平台和 ElasticJob-Lite 并无直接关系,是通过读取作业注册中心数据展现作业状态,或更新注册中心数据修改全局配置。 控制台只能控制作业本身是否运行,但不能控制作业进程的启动,因为控制台和作业本身服务器是完全分离的,控制台并不能控制作业服务器。 @@ -37,4 +37,4 @@ chapter = true * 添加作业 -作业在首次运行时将自动添加。ElasticJob Lite 以 jar 方式启动,并无作业分发功能。如需完全通过运维平台发布作业,请使用ElasticJob Cloud。 +作业在首次运行时将自动添加。ElasticJob-Lite 以 jar 方式启动,并无作业分发功能。如需完全通过运维平台发布作业,请使用 ElasticJob-Cloud。 diff --git a/elasticjob-cloud/elasticjob-cloud-executor/src/main/java/org/apache/shardingsphere/elasticjob/cloud/executor/TaskExecutor.java b/elasticjob-cloud/elasticjob-cloud-executor/src/main/java/org/apache/shardingsphere/elasticjob/cloud/executor/TaskExecutor.java index ae7689195f..d193d97cf6 100755 --- a/elasticjob-cloud/elasticjob-cloud-executor/src/main/java/org/apache/shardingsphere/elasticjob/cloud/executor/TaskExecutor.java +++ b/elasticjob-cloud/elasticjob-cloud-executor/src/main/java/org/apache/shardingsphere/elasticjob/cloud/executor/TaskExecutor.java @@ -137,7 +137,7 @@ public void run() { // CHECKSTYLE:OFF } catch (final Throwable ex) { // CHECKSTYLE:ON - log.error("ElasticJob Cloud Executor error:", ex); + log.error("ElasticJob-Cloud Executor error:", ex); executorDriver.sendStatusUpdate(Protos.TaskStatus.newBuilder().setTaskId(taskInfo.getTaskId()).setState(Protos.TaskState.TASK_ERROR).setMessage(ExceptionUtils.transform(ex)).build()); executorDriver.stop(); throw ex; diff --git a/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/conf/elasticjob-cloud-scheduler.properties b/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/conf/elasticjob-cloud-scheduler.properties index 88b0f4477c..7e17d93bcd 100755 --- a/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/conf/elasticjob-cloud-scheduler.properties +++ b/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/conf/elasticjob-cloud-scheduler.properties @@ -28,13 +28,13 @@ mesos_url=zk://127.0.0.1:2181/mesos #mesos_role= -# ElasticJob Cloud's zookeeper address +# ElasticJob-Cloud's zookeeper address zk_servers=127.0.0.1:2181 -# ElasticJob Cloud's zookeeper namespace +# ElasticJob-Cloud's zookeeper namespace zk_namespace=elasticjob-cloud -# ElasticJob Cloud's zookeeper digest +# ElasticJob-Cloud's zookeeper digest zk_digest= # Job rest API port diff --git a/elasticjob-lite/elasticjob-lite-console/README.md b/elasticjob-lite/elasticjob-lite-console/README.md index ac3b737a49..6181cf9581 100644 --- a/elasticjob-lite/elasticjob-lite-console/README.md +++ b/elasticjob-lite/elasticjob-lite-console/README.md @@ -1,7 +1,7 @@ -# ElasticJob Lite Console +# ElasticJob-Lite Console Usage: 1. Execute `mvn install`. 2. Extract `elasticjob-lite-console/target/elasticjob-lite-console-${version}.tar.gz` and goto the extracted directory. 3. Add JDBC Driver (Such as `mysql-connector-java-8.0.13.jar`) to directory `ext-lib`. -4. Run ElasticJob Lite Console with `bin/start.sh` +4. Run ElasticJob-Lite Console with `bin/start.sh` diff --git a/elasticjob-lite/elasticjob-lite-spring-boot-starter/README.md b/elasticjob-lite/elasticjob-lite-spring-boot-starter/README.md index ebc11b26d0..1ef000c9a7 100644 --- a/elasticjob-lite/elasticjob-lite-spring-boot-starter/README.md +++ b/elasticjob-lite/elasticjob-lite-spring-boot-starter/README.md @@ -1,4 +1,4 @@ -# ElasticJob Lite SpringBoot Starter +# ElasticJob-Lite Spring Boot Starter ## Getting Started diff --git a/examples/elasticjob-example-cloud/src/README.txt b/examples/elasticjob-example-cloud/src/README.txt index 51d5df2932..0a9865c39b 100755 --- a/examples/elasticjob-example-cloud/src/README.txt +++ b/examples/elasticjob-example-cloud/src/README.txt @@ -1,11 +1,11 @@ 部署步骤 -启动Zookeeper, Mesos Master/Agent 以及 ElasticJob Cloud Scheduler。 +启动Zookeeper, Mesos Master/Agent 以及 ElasticJob-Cloud Scheduler。 -将打包之后的作业tar.gz文件放至网络可访问的位置,如:ftp或http。打包的tar.gz文件中Main方法需要调用 ElasticJob Cloud 提供的JobBootstrap.execute方法。 +将打包之后的作业tar.gz文件放至网络可访问的位置,如:ftp或http。打包的tar.gz文件中Main方法需要调用 ElasticJob-Cloud 提供的JobBootstrap.execute方法。 使用curl命令调用RESTful API注册作业。 -RESTful API: ElasticJob Cloud 提供作业及应用注册/注销RESTful API,可通过curl操作。 +RESTful API: ElasticJob-Cloud 提供作业及应用注册/注销RESTful API,可通过curl操作。 a.注册应用 curl -l -H "Content-type: application/json" -X POST -d '{"appName":"foo_app","appURL":"http://app_host:8080/yourJobs.gz","cpuCount":0.1,"memoryMB":64.0,"bootstrapScript":"bin/start.sh","appCacheEnable":true}' http://elastic_job_cloud_host:8899/api/app