# Problem with multiple Spark Submit processes/jvms

**URL:** <https://community.dynatrace.com/t/problem-with-multiple-spark-submit-processes-jvms/8909>\
**Category:** Open Q&A\
**Tags:** process-groups\
**Created:** [November 8, 2017, 11:51am UTC](https://community.dynatrace.com/t/problem-with-multiple-spark-submit-processes-jvms/8909 "2017-11-08T11:51:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike\_prior](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mike\_prior](https://community.dynatrace.com/u/mike_prior)\
**Post date:** [November 8, 2017, 11:51am UTC](https://community.dynatrace.com/t/problem-with-multiple-spark-submit-processes-jvms/8909/1 "2017-11-08T11:51:01Z")

</div>

Hi,

When availability monitoring is configured for the Spark Submit process group, and when 2 or more separate Spark processes/jvms are running (same server), and one stops, no problem is created.

---

<div class="post-metadata">

**Author:** ![michael\_kopp](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michael_kopp/32/13415_2.png) [@michael\_kopp](https://community.dynatrace.com/u/michael_kopp)\
**Post date:** [November 8, 2017, 2:03pm UTC](https://community.dynatrace.com/t/problem-with-multiple-spark-submit-processes-jvms/8909/2 "2017-11-08T14:03:20Z")

</div>

which kind of process group availability did you use.

 ![14673-2017-11-08-15-02-48-ruxitdev.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0ab80a2f1ccfd2b13f6e47bab1906ae9b0341d6d.png)

---

<div class="post-metadata">

**Author:** ![mike\_prior](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mike\_prior](https://community.dynatrace.com/u/mike_prior)\
**Post date:** [November 8, 2017, 2:29pm UTC](https://community.dynatrace.com/t/problem-with-multiple-spark-submit-processes-jvms/8909/3 "2017-11-08T14:29:25Z")

</div>

I used “If any process becomes unavailable”

Mike

---

<div class="post-metadata">

**Author:** ![michael\_kopp](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michael_kopp/32/13415_2.png) [@michael\_kopp](https://community.dynatrace.com/u/michael_kopp)\
**Post date:** [November 8, 2017, 2:33pm UTC](https://community.dynatrace.com/t/problem-with-multiple-spark-submit-processes-jvms/8909/4 "2017-11-08T14:33:38Z")

</div>

ok, the issue here is that when multiple processes for a process group are running on the same server they are normally treated as worker processes of the same “meta process” As such we do not alert if the number of workers goes from 2 to 1. Its an idea akin to threads. If you need to have this in a different way you need to give the different workers their own identity. look at the help on how to customize process group detection. The Node Id concept can be used to have multiple independent processes within the same group on the same server.

---

<div class="post-metadata">

**Author:** ![mike\_prior](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mike\_prior](https://community.dynatrace.com/u/mike_prior)\
**Post date:** [November 8, 2017, 4:39pm UTC](https://community.dynatrace.com/t/problem-with-multiple-spark-submit-processes-jvms/8909/5 "2017-11-08T16:39:26Z")

</div>

Thanks Michael, I made the changes and can manage each process as 1 worker.
