Skip to content

Conversation

@devaraj-kavali
Copy link

What changes were proposed in this pull request?

Added Launcher support for monitoring Mesos apps in Client mode. SPARK-11033 can handle the support for Mesos/Cluster mode since the Standalone/Cluster and Mesos/Cluster modes use the same code at client side.

How was this patch tested?

I verified it manually by running launcher application, able to launch, stop and kill the mesos applications and also can invoke other launcher API's.

@vanzin
Copy link
Contributor

vanzin commented Oct 13, 2017

ok to test

@SparkQA
Copy link

SparkQA commented Oct 13, 2017

Test build #82744 has finished for PR 19385 at commit 28f511e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vanzin
Copy link
Contributor

vanzin commented Oct 13, 2017

This only solves half the problem, right? What about cluster mode?

@devaraj-kavali
Copy link
Author

Thanks @vanzin for looking into this.

This only solves half the problem, right? What about cluster mode?

Yes, it solves the Mesos/Client mode. For Mesos/Cluster mode, I think the Standalone/Cluster(SPARK-11033) implementaton(or similar way) would handle since both use the same logic at the client side to submit the application.

super.start()

if (sc.deployMode == "client") {
launcherBackend.connect
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add () since this is not a property getter.

Copy link
Contributor

@vanzin vanzin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. One minor nit though.

@SparkQA
Copy link

SparkQA commented Oct 14, 2017

Test build #82750 has finished for PR 19385 at commit ced3e58.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vanzin
Copy link
Contributor

vanzin commented Oct 14, 2017

Merging to master.

@asfgit asfgit closed this in 06df34d Oct 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants