Arg-array parsing problem in adam-submit #971

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

Comments

Projects
None yet
2 participants
@ryan-williams
Member

ryan-williams commented Mar 22, 2016

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

This comment has been minimized.

Show comment
Hide comment
@heuermh

heuermh Mar 22, 2016

Member

Fixed in commit 5d3cdb7

Member

heuermh commented Mar 22, 2016

Fixed in commit 5d3cdb7

@heuermh heuermh closed this Mar 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment