Skip to content

Conversation

dos65
Copy link
Contributor

@dos65 dos65 commented Mar 20, 2018

def apply(outDirectory: Path): LocalSparkSubmit = (sys.env.get("MIST_HOME"), sys.env.get("SPARK_HOME")) match {
case (Some(mHome), Some(spHome)) => LocalSparkSubmit(outDirectory, mHome, spHome)
case (mist, spark) =>
val errors = Seq(mist.map(_ => "MIST_HOME"),spark.map(_ => "SPARK_HOME")).mkString(",")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will output wrong env variable name as error


describe("spark submit cmd") {

it("should construct spark submit command") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mark ignored or comment

@dos65 dos65 merged commit 0738b3f into master Mar 22, 2018
@dos65 dos65 deleted the feature/worker_runners_fixes branch March 22, 2018 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker mode networking problem

2 participants