No connection could be made because the target machine actively refused it 127.0.0.1:some port number
Here is my code i have just wrote in console application in Programe.cs is
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Spark.CSharp.Core;
namespace DemoSpark
{
class Program
{
static void Main(string[] args)
{
var Sparkcontext = new SparkContext(new SparkConf().SetAppName("Demo"));
Sparkcontext.Stop();
Console.WriteLine("Done");
}
}
}
And the exception is there in Screenshot 1]: https://i.stack.imgur.com/FWKQo.png