title: Hadoop YRM REST API to get list of completed batches
body: <p>I have checked Hadoop documentation but was not able to find anything to fetch the number of completed batches of spark jobs.</p>
  <p>Is anyone aware of an API that could help me?</p>