2 properties) at Microsoft.Spark.CSharp.Sql.DataFrameReader.Jdbc(String url, String table, Dictionary2 properties)
To reproduce your exception, I submitted a Pi example(https://github.com/Microsoft/SparkCLR/tree/master/examples/pi) to yarn cluster with following cmd:
scripts\sparkclr-submit.cmd --verbose --master yarn-cluster --exe Pi.exe ..\Pi.zip
Unfortunately I can't reproduce it. Please double check the environment variables including SPARK_HOME, HADOOP_HOME and make sure they are set properly, and the configuration items are also consistent with the yarn cluster your application will be submitted to.
SparkContext = new SparkContext("yarn-cluster", "PiExample")to instantiate the sparkcontext.
===== Building F:\SparkCLR\csharp\SparkCLR.sln ===== Restore NuGet packages =================== MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files (x86 )\MSBuild\14.0\bin'. All packages listed in packages.config are already installed. Build Debug ============================== Microsoft (R) Build Engine version 4.6.1055.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved. F:\SparkCLR\csharp\SparkCLR.sln.metaproj : error MSB4126: The specified solutio n configuration "Debug|x64" is invalid. Please specify a valid solution configu ration using the Configuration and Platform properties (e.g. MSBuild.exe Soluti on.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [F:\SparkCLR\csharp\SparkCLR.s ln] ===== Build FAILED for F:\SparkCLR\csharp\SparkCLR.sln -- Debug with error 1 - C ANNOT CONTINUE ===== Build SparkCLR C# components failed, stop building.