Looks like when I kill an application ID, the next application ID in the
pending queue takes over.
As there are 2 running jobs, I see that for every in coming event, there
are 2 outputs.
a. How do I force to have just 1 running job
b. How to force the number of application pending to a smaller number?

I looked at the document -
https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html
I have changed the property on capacity-scheduler.xml to a low number. I
still see 10k apps in pending state.


  <property>

    <name>yarn.scheduler.capacity.maximum-applications</name>

    <value>2</value>

    <description>

      Maximum number of applications that can be pending and running.

    </description>

  </property>

Reply via email to