Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use the provided scripts stop.sh and start.sh to redeploy the Spark workers. This is required after you have updated the number of worker nodes in the spark cluster. increased or decreased the number of slave Service Contexts that are available to the spark service.

Code Block
$ stop.sh


Info
titleExample - Redeploying the Spark workers


Code Block
languagetext
themeEclipse
$ start_master_workers.sh


When you change the number of spark slaves, you may also want to update the property spark.default.parallellism in the service configuration. This is to optimize the performance of the Spark cluster. However, in order for the change in the Spark configuration to become effective you must restart the cluster and submit the spark application. For further information about spark.default.parallellism, see 4.3 KPI Management - External Software.

If the Spark UI indicates that a worker has status "DEAD", you must restart the cluster. 



Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse

Next: