Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "SMILA/Documentation/JobManagerConfiguration"
< SMILA | Documentation
(→Configuring the Job Manager) |
(→Configuring the Job Manager) |
||
Line 1: | Line 1: | ||
{{note| Available since SMILA 0.9!}} | {{note| Available since SMILA 0.9!}} | ||
− | == Configuring the | + | == Configuring the JobManager == |
− | The | + | The JobManager is configured via the [[SMILA/Documentation/Bundle_org.eclipse.smila.clusterconfig.simple|ClusterConfig service]]. With the "simple" ClusterConfig service, it uses one properties in the "taskmanager" section of <code>clusterconfig.json</code>: |
− | < | + | <source lang="javascript"> |
− | + | { | |
− | </ | + | ... |
+ | "taskmanager": { | ||
+ | ... | ||
+ | "maxRetries": 10, | ||
+ | ... | ||
+ | }, | ||
+ | ... | ||
+ | } | ||
+ | </source> | ||
− | + | * maxRetries: Used to decide how often a task should be retried that has failed with an RECOVERABLE_ERROR, either because the "timeToLive" was exceeded or the worker itself reported such an error. If the retry limit is reached, the task will finally fail with a FATAL_ERROR. |
Revision as of 07:55, 4 October 2011
Configuring the JobManager
The JobManager is configured via the ClusterConfig service. With the "simple" ClusterConfig service, it uses one properties in the "taskmanager" section of clusterconfig.json
:
{ ... "taskmanager": { ... "maxRetries": 10, ... }, ... }
- maxRetries: Used to decide how often a task should be retried that has failed with an RECOVERABLE_ERROR, either because the "timeToLive" was exceeded or the worker itself reported such an error. If the retry limit is reached, the task will finally fail with a FATAL_ERROR.