diff --git a/docs/spark-standalone.md b/docs/spark-standalone.md index bc13693e2805..c96839c6e951 100644 --- a/docs/spark-standalone.md +++ b/docs/spark-standalone.md @@ -299,7 +299,7 @@ SPARK_MASTER_OPTS supports the following system properties:
spark.worker.resource.{resourceName}.amountspark.worker.resource.{name}.amountspark.worker.resource.{resourceName}.discoveryScriptspark.worker.resource.{name}.discoveryScript
- [{"id":{"componentName": "spark.worker","resourceName":"gpu"},"addresses":["0","1","2"]}].
+ The content of resources file should be formatted like
+ [{"id":{"componentName":
+ "spark.worker", "resourceName":"gpu"},
+ "addresses":["0","1","2"]}].
If a particular resource is not found in the resources file, the discovery script would be used to
find that resource. If the discovery script also does not find the resources, the worker will fail
to start up.