Skip to content

Commit

Permalink
Fix stop standalone (intel-analytics#2715)
Browse files Browse the repository at this point in the history
* fix

* update
  • Loading branch information
hkvision committed Aug 12, 2020
1 parent a5f46d4 commit 3ca85a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyspark/bigdl/common/zooUtils/nncontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def init_spark_standalone(num_executors,
executor_memory="10g",
driver_memory="1g",
driver_cores=4,
spark_master=None,
master=None,
extra_executor_memory_for_ray=None,
extra_python_lib=None,
spark_log_level="WARN",
Expand All @@ -142,8 +142,8 @@ def init_spark_standalone(num_executors,
:param executor_memory: The memory for each executor. Default to be '2g'.
:param driver_cores: The number of cores for the Spark driver. Default to be 4.
:param driver_memory: The memory for the Spark driver. Default to be '1g'.
:param spark_master: The master URL of an existing Spark standalone cluster starting with
'spark://'. You only need to specify this if you have already started a standalone cluster.
:param master: The master URL of an existing Spark standalone cluster: 'spark://master:port'.
You only need to specify this if you have already started a standalone cluster.
Default to be None and a new standalone cluster would be started in this case.
:param extra_executor_memory_for_ray: The extra memory for Ray services. Default to be None.
:param extra_python_lib: Extra python files or packages needed for distribution.
Expand All @@ -167,7 +167,7 @@ def init_spark_standalone(num_executors,
executor_memory=executor_memory,
driver_memory=driver_memory,
driver_cores=driver_cores,
spark_master=spark_master,
master=master,
extra_executor_memory_for_ray=extra_executor_memory_for_ray,
extra_python_lib=extra_python_lib,
conf=conf,
Expand Down

0 comments on commit 3ca85a0

Please sign in to comment.