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

Arg-array parsing problem in adam-submit #971

Closed
ryan-williams opened this issue Mar 22, 2016 · 1 comment
Closed

Arg-array parsing problem in adam-submit #971

ryan-williams opened this issue Mar 22, 2016 · 1 comment
Assignees
Labels

Comments

@ryan-williams
Copy link
Member

spark args with spaces in them are not handled properly:

$ bin/adam-submit --conf "spark.driver.extraJavaOptions=-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc" -- flagstat adam-core/src/test/resources/small.sam
Using ADAM_MAIN=org.bdgenomics.adam.cli.ADAMMain
Using SPARK_SUBMIT=/Users/ryan/sparks/spark-1.6.0-bin-hadoop2.6/bin/spark-submit
Error: Unrecognized option: -XX:+PrintGCTimeStamps

Usage: spark-submit [options] <app jar | python file> [app arguments]
Usage: spark-submit --kill [submission ID] --master [spark://...]
Usage: spark-submit --status [submission ID] --master [spark://...]

Options:
…

PR incoming imminently

@heuermh
Copy link
Member

heuermh commented Mar 22, 2016

Fixed in commit 5d3cdb7

@heuermh heuermh closed this as completed Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants