A clustering lib is necessary to manage multiple jvm. Akka cluster for instance
Le 30 janv. 2017 8:01 AM, "Rohit Verma" <rohit.ve...@rokittech.com> a écrit : > Hi, > > If I am right, you need to launch other context from another jvm. If you > are trying to launch from same jvm another context it will return you the > existing context. > > Rohit > > On Jan 30, 2017, at 12:24 PM, Mark Hamstra <m...@clearstorydata.com> > wrote: > > More than one Spark Context in a single Application is not supported. > > On Sun, Jan 29, 2017 at 9:08 PM, <jasbir.s...@accenture.com> wrote: > >> Hi, >> >> >> >> I have a requirement in which, my application creates one Spark context >> in Distributed mode whereas another Spark context in local mode. >> >> When I am creating this, my complete application is working on only one >> SparkContext (created in Distributed mode). Second spark context is not >> getting created. >> >> >> >> Can you please help me out in how to create two spark contexts. >> >> >> >> Regards, >> >> Jasbir singh >> >> ------------------------------ >> >> This message is for the designated recipient only and may contain >> privileged, proprietary, or otherwise confidential information. If you have >> received it in error, please notify the sender immediately and delete the >> original. Any other use of the e-mail by you is prohibited. Where allowed >> by local law, electronic communications with Accenture and its affiliates, >> including e-mail and instant messaging (including content), may be scanned >> by our systems for the purposes of information security and assessment of >> internal compliance with Accenture policy. >> ____________________________________________________________ >> __________________________ >> >> www.accenture.com >> > > >