Skip to content
Snippets Groups Projects
Commit ac8c549e authored by Kenichi Maehashi's avatar Kenichi Maehashi Committed by Sean Owen
Browse files

[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
parent 15724fac
No related branches found
No related tags found
No related merge requests found
...@@ -242,7 +242,7 @@ def parse_args(): ...@@ -242,7 +242,7 @@ def parse_args():
help="Number of EBS volumes to attach to each node as /vol[x]. " + help="Number of EBS volumes to attach to each node as /vol[x]. " +
"The volumes will be deleted when the instances terminate. " + "The volumes will be deleted when the instances terminate. " +
"Only possible on EBS-backed AMIs. " + "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.") "Only support up to 8 EBS volumes.")
parser.add_option( parser.add_option(
"--placement-group", type="string", default=None, "--placement-group", type="string", default=None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment