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)

Reply via email to