I am trying to list the applications run on Hadoop cluster. I can get the list to filter by application status as follows:
>yarn application -list -appStates FINISHED
But that still pulls up whole history (last 4-5 days, I guess based on Yarn Timeline server config).
Is there a way to filter that by a specific date or something like last 24 hours?
curl "http://atl-hdp-022.afy.gbl:8088/ws/v1/cluster/apps?startedTimeBegin=
date +%s%3N -d '1 day ago'&startedTimeEnd=
date +%s%3N&applicationTypes=SPARK&finalStatus=SUCCEEDED"
– Nominee