diff options
author | Kenichi Maehashi <webmaster@kenichimaehashi.com> | 2015-07-28 15:57:21 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-07-28 15:57:21 +0100 |
commit | ac8c549e2fa9ff3451deb4c3e49d151eeac18acc (patch) | |
tree | f05cca2bfe36ceef4c1e83d5aa988c44074452af | |
parent | 15724fac569258d2a149507d8c767d0de0ae8306 (diff) | |
download | spark-ac8c549e2fa9ff3451deb4c3e49d151eeac18acc.tar.gz spark-ac8c549e2fa9ff3451deb4c3e49d151eeac18acc.tar.bz2 spark-ac8c549e2fa9ff3451deb4c3e49d151eeac18acc.zip |
[EC2] Cosmetic fix for usage of spark-ec2 --ebs-vol-num option
The last line of the usage seems ugly.
```
$ spark-ec2 --help
<snip>
--ebs-vol-num=EBS_VOL_NUM
Number of EBS volumes to attach to each node as
/vol[x]. The volumes will be deleted when the
instances terminate. Only possible on EBS-backed AMIs.
EBS volumes are only attached if --ebs-vol-size >
0.Only support up to 8 EBS volumes.
```
After applying this patch:
```
$ spark-ec2 --help
<snip>
--ebs-vol-num=EBS_VOL_NUM
Number of EBS volumes to attach to each node as
/vol[x]. The volumes will be deleted when the
instances terminate. Only possible on EBS-backed AMIs.
EBS volumes are only attached if --ebs-vol-size > 0.
Only support up to 8 EBS volumes.
```
As this is a trivial thing I didn't create JIRA for this.
Author: Kenichi Maehashi <webmaster@kenichimaehashi.com>
Closes #7632 from kmaehashi/spark-ec2-cosmetic-fix and squashes the following commits:
526c118 [Kenichi Maehashi] cosmetic fix for spark-ec2 --ebs-vol-num option usage
-rwxr-xr-x | ec2/spark_ec2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index 7c83d68e79..ccf922d937 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -242,7 +242,7 @@ def parse_args(): help="Number of EBS volumes to attach to each node as /vol[x]. " + "The volumes will be deleted when the instances terminate. " + "Only possible on EBS-backed AMIs. " + - "EBS volumes are only attached if --ebs-vol-size > 0." + + "EBS volumes are only attached if --ebs-vol-size > 0. " + "Only support up to 8 EBS volumes.") parser.add_option( "--placement-group", type="string", default=None, |