You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ji...@apache.org on 2022/05/07 06:55:07 UTC
[openwhisk] branch master updated: Update Ansible scheduler instructions (#5224)
This is an automated email from the ASF dual-hosted git repository.
jiangpengcheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 33cfb36a3 Update Ansible scheduler instructions (#5224)
33cfb36a3 is described below
commit 33cfb36a326f4cdc621cdd33d4b4265e3cb090cb
Author: Erika Hunhoff <54...@users.noreply.github.com>
AuthorDate: Sat May 7 00:55:03 2022 -0600
Update Ansible scheduler instructions (#5224)
* Removed extraneous instruction
Akka dispatcher added directly into code in recent commit so this is no longer necessary
* Add directions for scheduler without elasticsearch
---
ansible/README.md | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/ansible/README.md b/ansible/README.md
index 19149f8ae..3375fb904 100644
--- a/ansible/README.md
+++ b/ansible/README.md
@@ -157,6 +157,8 @@ It will run one more component called "scheduler" and ETCD.
You can update service providers for the scheduler as follows.
**common/scala/src/main/resources/reference.conf**
+
+If you are using ElasticSearch (recommended) then replace ```NoopDurationCheckerProvider``` with ```ElasticSearchDurationCheckerProvider``` below.
```
whisk.spi {
ArtifactStoreProvider = org.apache.openwhisk.core.database.CouchDbStoreProvider
@@ -169,27 +171,13 @@ whisk.spi {
AuthenticationDirectiveProvider = org.apache.openwhisk.core.controller.BasicAuthenticationDirective
InvokerProvider = org.apache.openwhisk.core.invoker.FPCInvokerReactive
InvokerServerProvider = org.apache.openwhisk.core.invoker.FPCInvokerServer
- DurationCheckerProvider = org.apache.openwhisk.core.scheduler.queue.ElasticSearchDurationCheckerProvider
+ DurationCheckerProvider = org.apache.openwhisk.core.scheduler.queue.NoopDurationCheckerProvider
}
.
.
.
```
-#### Configure akka dispatcher for the scheduler
-Add a new dispatcher entry as follows.
-
-**common/scala/src/main/resources/reference.conf**
-```
- lease-service-dispatcher {
- executor = "thread-pool-executor"
- type = PinnedDispatcher
- }
-.
-.
-.
-```
-
#### Enable the scheduler
- Make sure you enable the scheduler by configuring `scheduler_enable`.