Start task
Procedure
Qlik Sense performs the following procedure:
- A request is sent to the Qlik Sense Repository Service (QRS).
- The manager Qlik Sense Scheduler Service (QSS) on the central node communicates with each worker QSS to see which ones are available to perform the task.
-
The task is given to the currently available worker QSS with the least load according to the load balance rules.
Success
In case of success, log entries are written in the following files throughout the procedure:
- <MachineName>_AuditActivity_Scheduler.txt
- <MachineName>_AuditActivity_Repository.txt
Errors
Task not found
| Description | Command=Start task;Result=5;ResultText=Error: Failed |
|---|---|
| Message | Task not found |
| Action |
Try the following measures:
|
Scheduler is not licensed
| Description | Command=Start task;Result=10;ResultText=Error: Failed |
|---|---|
| Message | Scheduler is not licensed. Not allowed to run Tasks |
| Action | Provide a valid Qlik Sense license. |
Scheduler is not Manager
| Description | Command=Start task;Result=15;ResultText=Error: Failed |
|---|---|
| Message | Scheduler is not Manager. Not allowed to run Tasks |
| Action | Make sure that the QSS on the central node is “Manager” or “Manager and Worker”. |
Found active session for Task
| Description | Command=Start task;Result=20;ResultText=Error: Failed |
|---|---|
| Message | Found active session for Task. Task not started |
| Action |
Try the following measures:
|
Task disabled
| Description | Command=Start task;Result=25;ResultText=Error: Failed |
|---|---|
| Message | Task disabled |
| Action |
Enable the task. |
TaskExecutionSession already exists
| Description | Command=Start task;Result=30;ResultText=Error: Failed |
|---|---|
| Message | TaskExecutionSession already exists for App <App.Name> |
| Action |
Try the following measures:
|
No worker nodes found to execute Task
| Description | Command=Start task;Result=40;ResultText=Error: Failed |
|---|---|
| Message | No worker-nodes found to execute Task: <Task.Name> |
| Action |
Proceed as follows:
|
Unable to create TaskExecutionSession
| Description | Command=Start task;Result=45;ResultText=Error: Failed |
|---|---|
| Message | Unable to create TaskExecutionSession |
| Action |
Restart the QSS. |
Unexpected exception when starting task
| Description | Command=Start task;Result=50;ResultText=Error: Failed |
|---|---|
| Message | Unexpected exception when starting task. Exception message: <Exception.Message> |
| Action |
Restart the QSS. |
Unexpected exception when trying to start task
| Description | Command=Start task;Result=55;ResultText=Error: Failed |
|---|---|
| Message | Unexpected exception when trying to start task. Exception message: <Exception.Message> |
| Action |
Restart the QSS. |
Max number of retries reached for task
| Description | Command=Start task;Result=80;ResultText=Error: Failed |
|---|---|
| Message | Max number of retries (<Amount>) reached for task (id/name) <Task.ID>/<Task.Name> |
| Action |
Restart the QSS. |
Not possible to initiate retry
| Description | Command=Start task;Result=90;ResultText=Error: Failed |
|---|---|
| Message | Not possible to initiate retry. TaskExecutionSession is null |
| Action |
Restart the QSS. |