Github user nchammas commented on a diff in the pull request:
https://github.com/apache/spark/pull/3939#discussion_r22689661
--- Diff: ec2/spark_ec2.py ---
@@ -236,6 +252,26 @@ def get_or_make_group(conn, name, vpc_id):
return conn.create_security_group(name, "Spark EC2 group", vpc_id)
+def get_validate_spark_version(version, repo):
+ if "." in version:
+ version = version.replace("v", "")
+ if version not in VALID_SPARK_VERSIONS:
+ print >> stderr, "Don't know about Spark version:
{v}".format(v=version)
+ sys.exit(1)
+ return version
+ else:
--- End diff --
FYI: I added validation of git hashes here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]