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

TINKERPOP-1389 Limit JVM system props passed around in Spark jobs #497

Merged
merged 1 commit into from
Nov 17, 2016

Conversation

dalaro
Copy link
Contributor

@dalaro dalaro commented Nov 17, 2016

Prior to this commit, SGC indiscriminately set the entire job config
as JVM system properties on Spark executors. It didn't account for
the fact that some config values (e.g. spark.job.description) could
have spaces. A value with a space wouldn't get quoted. This led to
Spark workers failing to start, because part of the unquoted value
would be erroneously interpreted as the JVM main class.

This commit makes SGC only pass two config settings as system props:

  • gremlin.io.registry
  • gremlin.io.kryoShimService

Prior to this commit, SGC indiscriminately set the entire job config
as JVM system properties on Spark executors.  It didn't account for
the fact that some config values (e.g. spark.job.description) could
have spaces.  A value with a space wouldn't get quoted.  This led to
Spark workers failing to start, because part of the unquoted value
would be erroneously interpreted as the JVM main class.

This commit makes SGC only pass two config settings as system props:

 * gremlin.io.registry
 * gremlin.io.kryoShimService
@dalaro dalaro changed the title Limit JVM system props passed around in Spark jobs TINKERPOP-1389 Limit JVM system props passed around in Spark jobs Nov 17, 2016
@asfgit asfgit merged commit 69877a2 into apache:TINKERPOP-1389 Nov 17, 2016
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.

2 participants