Fix "Could not find or load main class org.apache.spark.launcher.SparkCLRSubmitArguments" issue
This commit is contained in:
Родитель
14351c0617
Коммит
ffa55b55f6
|
@ -127,7 +127,7 @@ The following environment variables should be set properly:
|
|||
Set `CSharpWorkerPath` in `SparkCLRSamples.exe.config` and run the following command:
|
||||
|
||||
```
|
||||
sparkclr-submit.cmd --verbose -exe SparkCLRSamples.exe %SPARKCLR_HOME%\samples spark.local.dir C:\temp\SparkCLRTemp sparkclr.sampledata.loc %SPARKCLR_HOME%\data
|
||||
sparkclr-submit.cmd --verbose --exe SparkCLRSamples.exe %SPARKCLR_HOME%\samples spark.local.dir C:\temp\SparkCLRTemp sparkclr.sampledata.loc %SPARKCLR_HOME%\data
|
||||
```
|
||||
|
||||
Note that SparkCLR jar version (**1.4.1**) should be aligned with Apache Spark version.
|
||||
|
|
|
@ -40,7 +40,7 @@ rem The launcher library prints the arguments to be submitted to spark-submit.cm
|
|||
set LAUNCHER_OUTPUT=%temp%\spark-class-launcher-output-%RANDOM%.txt
|
||||
%JAVA_HOME%\bin\java -cp %LAUNCH_CLASSPATH% org.apache.spark.launcher.SparkCLRSubmitArguments %* > %LAUNCHER_OUTPUT%
|
||||
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
goto :eof
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче