From 98f1b7a406cf637eb2dfb096b771ace8630821ec Mon Sep 17 00:00:00 2001 From: Shaojun Liu <61072813+liu-shaojun@users.noreply.github.com> Date: Fri, 8 Jul 2022 17:09:47 +0800 Subject: [PATCH] [ppml] add ppml cli into docker image (#5056) * add bigdl-ppml-submit.sh into ppml graphene image * remove ppml-spark-submit.sh since it was replaced by bigdl-ppml-submit.sh * update ppml-spark-submit.sh to bigdl-ppml-submit.sh --- docs/readthedocs/source/doc/PPML/Overview/ppml.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/readthedocs/source/doc/PPML/Overview/ppml.md b/docs/readthedocs/source/doc/PPML/Overview/ppml.md index 223f0539..003a0867 100644 --- a/docs/readthedocs/source/doc/PPML/Overview/ppml.md +++ b/docs/readthedocs/source/doc/PPML/Overview/ppml.md @@ -130,10 +130,10 @@ Enter `BigDL/ppml/trusted-big-data-ml/python/docker-graphene` dir. ##### 2.2.2.2 Run Your Spark Program with BigDL PPML on SGX -To run your pyspark program, you need to prepare your own pyspark program and put it under the trusted directory in SGX `/ppml/trusted-big-data-ml/work`. Then run with `ppml-spark-submit.sh` using the command: +To run your pyspark program, you need to prepare your own pyspark program and put it under the trusted directory in SGX `/ppml/trusted-big-data-ml/work`. Then run with `bigdl-ppml-submit.sh` using the command: ```bash -./ppml-spark-submit.sh work/YOUR_PROMGRAM.py | tee YOUR_PROGRAM-sgx.log +./bigdl-ppml-submit.sh work/YOUR_PROMGRAM.py | tee YOUR_PROGRAM-sgx.log ``` When the program finishes, check the results with the log `YOUR_PROGRAM-sgx.log`. @@ -427,10 +427,10 @@ Enter `BigDL/ppml/trusted-big-data-ml/python/docker-graphene` directory. ##### 2.3.2.2 Run Your Pyspark Program with BigDL PPML on SGX -To run your pyspark program, you need to prepare your own pyspark program and put it under the trusted directory in SGX `/ppml/trusted-big-data-ml/work`. Then run with `ppml-spark-submit.sh` using the command: +To run your pyspark program, you need to prepare your own pyspark program and put it under the trusted directory in SGX `/ppml/trusted-big-data-ml/work`. Then run with `bigdl-ppml-submit.sh` using the command: ```bash -./ppml-spark-submit.sh work/YOUR_PROMGRAM.py | tee YOUR_PROGRAM-sgx.log +./bigdl-ppml-submit.sh work/YOUR_PROMGRAM.py | tee YOUR_PROGRAM-sgx.log ``` When the program finishes, check the results with the log `YOUR_PROGRAM-sgx.log`.