Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More submit configuration with 'spark.yarn.am.nodeLabelExpression' #173

Open
xiandong79 opened this issue Jul 1, 2018 · 2 comments
Open

Comments

@xiandong79
Copy link

I want to submit with a new configuration:

conf spark.yarn.am.nodeLabelExpression="my-label"
spark-bench = {
  spark-submit-config = [{
spark-home = "/usr/lib/spark"
conf spark.yarn.am.nodeLabelExpression="Y"
    workload-suites = [
      {
        descr = "One run of SparkPi and that's it!"
benchmark-output = "hdfs:///tmp/results-kmeans.csv"
        repeat = 2
workloads = [
        {
    name = "kmeans"
    input = "hdfs:///tmp/kmeans-data.csv"
    k = 10
maxiterations=10
  }]
      }
    ]
  }]
}

How should I revise the above conf ?

@xiandong79
Copy link
Author

xiandong79 commented Jul 1, 2018

The above line would be parsed as:

--conf spark
{yarn={am={nodeLabelExpression=my-label}}}

@xiandong79
Copy link
Author

xiandong79 commented Jul 1, 2018

spark-args = {
spark.yarn.am.nodeLabelExpression = "my-label"
}

Failed!!

@ecurtin

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

No branches or pull requests

1 participant