Github user felixcheung commented on the pull request:
https://github.com/apache/spark/pull/10652#issuecomment-173121016
I realize that, my point is even in client mode the driver could be running
on a worker machine, as in the case Spark job is submitted from another YARN
app.
On Tue, Jan 19, 2016 at 11:22 PM -0800, "sun-rui"
<[email protected]> wrote:
It is possible to get deploy mode from "spark.submit.deployMode", and check
if it is "client". You can take a look at
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/api/r/RUtils.scala#L49
---
Reply to this email directly or view it on GitHub:
https://github.com/apache/spark/pull/10652#issuecomment-173116720
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]