-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to initialize sparkContext class in C# #674
Comments
How you are trying to execute? From command line or from visual studio? |
from visual studio,I have installed Spark & tested sample code on command prompt which is working fine. namespace ConsoleApp5
} |
If you are trying to execute it from visual studio then you need to try in debug mode to initialise the spark context have you read this link : https://github.com/Microsoft/Mobius/blob/master/notes/running-mobius-app.md#running-mobius-examples-in-local-mode Just read and set the environment accordingly you will able to execute |
Read the documentation for debug mode from that link |
Hi jayprajapati, I tried to run this command 'sparkclr-submit.cmd --exe SparkCLRSamples.exe C:\Users\satish.jha\Desktop\Mobius-master\csharp\Samples\Microsoft.Spark.CSharp\bin\Debug' on scala/spark command but getting error plz. suggest where I'm doing mistake. Microsoft Windows [Version 10.0.10240] C:\Users\satish.jha>cd c:\spark c:\Spark>spark-shell Using Scala version 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_144) scala
Regards, |
Hi ,
Can you plz. someone send any sample to run simple word count in C# with Spark ,I have tried but getting error
on declaration of SparkContext var sparkContext = new SparkContext()
It seems configuration issue ,Can you plz. suggest how to pass spark running instance , my running instance is http://localhost:4040
Thanks.
Satish Jha
The text was updated successfully, but these errors were encountered: