Fix path for running basic example in build documentation (#339)

This commit is contained in:
Tadeusz Balcer 2019-11-16 18:31:31 +01:00 коммит произвёл Terry Kim
Родитель 7fd0a0315d
Коммит 0ba451aad6
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -179,13 +179,13 @@ Once you build the samples, you can use `spark-submit` to submit your .NET Core
```
Here are some examples you can run:
- **[Microsoft.Spark.Examples.Sql.Basic](../../examples/Microsoft.Spark.CSharp.Examples/Sql/Basic.cs)**
- **[Microsoft.Spark.Examples.Sql.Batch.Basic](../../examples/Microsoft.Spark.CSharp.Examples/Sql/Batch/Basic.cs)**
```bash
spark-submit \
--class org.apache.spark.deploy.dotnet.DotnetRunner \
--master local \
~/dotnet.spark/src/scala/microsoft-spark-2.3.x/target/microsoft-spark-2.3.x-0.6.0.jar \
Microsoft.Spark.CSharp.Examples Sql.Basic $SPARK_HOME/examples/src/main/resources/people.json
Microsoft.Spark.CSharp.Examples Sql.Batch.Basic $SPARK_HOME/examples/src/main/resources/people.json
```
- **[Microsoft.Spark.Examples.Sql.Streaming.StructuredNetworkWordCount](../../examples/Microsoft.Spark.CSharp.Examples/Sql/Streaming/StructuredNetworkWordCount.cs)**
```bash

Просмотреть файл

@ -211,13 +211,13 @@ Once you build the samples, running them will be through `spark-submit` regardle
```
Here are some examples you can run:
- **[Microsoft.Spark.Examples.Sql.Basic](../../examples/Microsoft.Spark.CSharp.Examples/Sql/Basic.cs)**
- **[Microsoft.Spark.Examples.Sql.Batch.Basic](../../examples/Microsoft.Spark.CSharp.Examples/Sql/Batch/Basic.cs)**
```powershell
spark-submit.cmd `
--class org.apache.spark.deploy.dotnet.DotnetRunner `
--master local `
C:\github\dotnet-spark\src\scala\microsoft-spark-2.3.x\target\microsoft-spark-2.3.x-0.6.0.jar `
Microsoft.Spark.CSharp.Examples.exe Sql.Basic %SPARK_HOME%\examples\src\main\resources\people.json
Microsoft.Spark.CSharp.Examples.exe Sql.Batch.Basic %SPARK_HOME%\examples\src\main\resources\people.json
```
- **[Microsoft.Spark.Examples.Sql.Streaming.StructuredNetworkWordCount](../../examples/Microsoft.Spark.CSharp.Examples/Sql/Streaming/StructuredNetworkWordCount.cs)**
```powershell