Spring Cloud Data Flow - Incorrect number of tasks being displayed from SCDF shell for SCDF tile versions less than 1.8.
search cancel

Spring Cloud Data Flow - Incorrect number of tasks being displayed from SCDF shell for SCDF tile versions less than 1.8.

book

Article ID: 297133

calendar_today

Updated On:

Products

Support Only for Spring

Issue/Introduction

There is a known issue with earlier versions of the SCDF tile where running the command 'task execution current' using the SCDF shell plugin, can sometimes display the wrong count of tasks. This happens because the code does not pass in org and spaceID in the call to /v3/tasks end point.

Verifying the number of tasks displayed can be done in one of two ways listed below.

1. The number of tasks retrieved by the shell can be compared to what’s displayed on the SCDF dashboard.
2. By running the query below against the CC DB.
SELECT t.state, t.created_at, t.guid, a.name,s.name, org.name from apps a, tasks t, spaces s, organizations org WHERE t.state ='RUNNING' AND t.app_guid = a.guid and a.space_guid = s.guid and s.organization_id = org.id ORDER BY t.created_at ASC

A known impact of this issue is that customers may have to increase the "concurrent-task-limit” in order to create new tasks.


Resolution

Upgrade to SCDF 1.8 tile, which has a fix for this issue.