05-17-2018 10:12 AM
I'm using the yarn hisotry API to get the failed ,mapreduce jobs in specific queue, but recently i see that i missing some other states like KILLED and ERROR.
I tried to figure out how i can get all these 3 state in one API call, i want to avoid sending 3 separated API requets, one for each state, I tried to use OR operand and other commonly used ways like comma,semicolon and so on but without success
I'm aware that i can use the resource manager API that can allow this but i prefer to use this API
Here is my API request:
curl -GET http://historyserver:19888/ws/v1/history/mapreduce/jobs?state='FAILED'&queue=blabla
05-21-2018 02:06 AM