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 >