Hydrospheredata / mist

Serverless proxy for Spark cluster
http://hydrosphere.io/mist/
Apache License 2.0
326 stars 68 forks source link

SparkSubmitBuilder - incorrect run-options parsing #472

Closed dos65 closed 6 years ago

dos65 commented 6 years ago

Context has run-options field that should be passed directly into spark-submit. It stores as a raw string that can't be directly passed using process api, so it should be correctly split into Seq[String]. The current implementation doesn't work correctly. For example it's impossible to start worker with following options because second argument contain space: --driver-java-options '-Xdebug -Xrunjdwp:transport=dt_socket,address=15000,server=y,suspend=y'