[jira] [Created] (IGNITE-5981) IgniteContext starts server nodes on executors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-5981) IgniteContext starts server nodes on executors

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-5981:
-------------------------------------------

             Summary: 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
             Fix For: 2.2


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)