Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
This is continuation discussion from YARN-6027 for supporting collapse flag in /flows API. The existing API returns flow entities per day basis. Lets say, if user X runs SleepJob yesterday and today, then /flows will return 2 flow entities with flow runs per daily basis. This basically because, (UseCase-1) flows are tracked by daily basis.
(UseCase-2) Some users are not interested in duplicate flow entities being sent in response rather they expect single flow entity as response. The ability to collapse with a given time range need to supported from timeline reader. This will adds up flexible API filters that can be used by users.