A C# SDK facilitate access to Livy and HDInsight (Spark).
See Livy.io for project home page where API documentation can be found.
See this page for more information on how to submit tasks to HDInsight cluster.
First, initialise the rest clint with Spark cluster credentials:
var creds = new NetworkCredential("username", "password", "cluster_name");
ILivyClient client = new LivyRestClient(creds);
note that cluster_name
is not a full url but just an HDInsight cluster name.
Once the client is creating you can start calling methods on ILivyClient
.