Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit 4be5ac2

Browse files
shtratosjafreck
authored andcommitted
Fix job configuration option for aztk spark job submit command (#435)
`--job-conf` option mentioned in the docs wasn't working. CLI help was showing that option is named `--configuration-c` which seems to be a result of a missing comma in option definition.
1 parent 1c31335 commit 4be5ac2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aztk_cli/spark/endpoints/job/submit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup_parser(parser: argparse.ArgumentParser):
1111
dest='job_id',
1212
required=False,
1313
help='The unique id of your Spark Job. Defaults to the id value in .aztk/job.yaml')
14-
parser.add_argument('--configuration' '-c',
14+
parser.add_argument('--configuration', '-c',
1515
dest='job_conf',
1616
required=False,
1717
help='Path to the job.yaml configuration file. Defaults to .aztk/job.yaml')

docs/70-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Once submitted, this Job will run two applications, pipy100 and pipy200, on an a
9292
Submit a Spark Job:
9393
9494
```sh
95-
aztk spark job submit --id <your_job_id> --job-conf </path/to/job.yaml>
95+
aztk spark job submit --id <your_job_id> --configuration </path/to/job.yaml>
9696
```
9797

9898
NOTE: The Job id (`--id`) can only contain alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. Each Job **must** have a unique id.

0 commit comments

Comments
 (0)