0

I just read that the random Shark worker Jetty port can't be fixated. The previous link states:

Jetty-based. Each of these services starts on a random port that cannot be configured

However, reading the DSE documentation I see no note on this. Is the DSE documentation wrong or has the Datastax somehow managed to patch Jetty to use a fixed port?

Ztyx
  • 1,385
  • 3
  • 14
  • 28

1 Answers1

0

This is correct, you can configure the worker port using the SPARK_WORKER_PORT environment variable.

Check out Al's post to see how you would do it if you were building the integration yourself: http://tobert.github.io/post/2014-07-15-installing-cassandra-spark-stack.html

Of course DSE does this for you automatically under the covers : )

phact
  • 116
  • 3
  • But my quote is not for SPARK_WORKER_PORT, but rather the worker Jetty server that serves "File server for file and jars", "Http Broadcast" and "Class file server (Spark Shell only)". Which port is it equivalent to in http://www.datastax.com/documentation/datastax_enterprise/4.5/datastax_enterprise/sec/secConfFirePort.html ? – Ztyx Nov 06 '14 at 16:44