[ 
https://issues.apache.org/jira/browse/IGNITE-5981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Valentin Kulichenko reassigned IGNITE-5981:
-------------------------------------------

    Assignee: Valentin Kulichenko

> IgniteContext starts server nodes on executors
> ----------------------------------------------
>
>                 Key: IGNITE-5981
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5981
>             Project: Ignite
>          Issue Type: Bug
>          Components: spark
>    Affects Versions: 2.1
>            Reporter: Valentin Kulichenko
>            Assignee: Valentin Kulichenko
>
> Currently {{IgniteContext#ignite()}} method creates client node only if it is 
> invoked on driver. However, in case standalone mode is used, this should 
> happen also executors (or basically anywhere within Spark).
> Most likely, it would be enough to replace this line:
> {code}
> if (sparkContext != null) igniteCfg.setClientMode(true)
> {code}
> with this:
> {code}
> if (standalone || sparkContext != null) igniteCfg.setClientMode(true)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to