-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-5628] Add version option to spark-ec2 #4414
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
Conversation
31ec6f1 to
914cab5
Compare
|
Test build #26887 has started for PR 4414 at commit
|
|
Test build #26887 has finished for PR 4414 at commit
|
|
Test PASSed. |
|
cc @shivaram |
|
LGTM. I'm going to pull this into |
Every proper command line tool should include a `--version` option or something similar. This PR adds this to `spark-ec2` using the standard functionality provided by `optparse`. One thing we don't do here is follow the Python convention of setting `__version__`, since it seems awkward given how `spark-ec2` is laid out. Author: Nicholas Chammas <[email protected]> Closes #4414 from nchammas/spark-ec2-show-version and squashes the following commits: 914cab5 [Nicholas Chammas] add version info (cherry picked from commit 70e5b03) Signed-off-by: Josh Rosen <[email protected]>
|
Actually, I'm going to hold off on the |
|
Thanks for the review @JoshRosen. I'll tag the JIRA issue for backport. |
|
Btw, did you mean 1.2.1? |
|
I'm assuming that the 1.2.1 vote will pass, so anything new that goes into branch-1.2 will be part of 1.2.2. |
|
(I actually use a set of TextExpander macros for writing my commit messages, so I only need to type |
|
Oh, nice. BTW, I don't need to keep this branch around for you to backport into 1.2 right? |
|
Yeah, you shouldn't need to keep the branch around. GitHub should keep the code around in this PR even if you delete the branch at this point. |
|
I'm going to backport this to 1.2 and change the version specified here to 1.2.2: PR at #4833 |
Backport of #4414 to 1.2: Add version option to spark-ec2 nchammas JoshRosen : is this about the right backporting of this change? Author: Sean Owen <[email protected]> Closes #4833 from srowen/SPARK-5628.2 and squashes the following commits: e723911 [Sean Owen] Backport of #4414 to 1.2: Add version option to spark-ec2
Every proper command line tool should include a
--versionoption or something similar.This PR adds this to
spark-ec2using the standard functionality provided byoptparse.One thing we don't do here is follow the Python convention of setting
__version__, since it seems awkward given howspark-ec2is laid out.