You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2017/08/07 20:48:00 UTC

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

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)