-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding additional include support in spark component (#38537)
Support additional include in spark component
- Loading branch information
1 parent
c812e66
commit a0b7966
Showing
5 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...ure-ai-ml/tests/test_configs/components/hello_spark_component_with_additional_include.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$schema: https://azuremlschemas.azureedge.net/latest/sparkComponent.schema.json | ||
name: wordcount_spark_component | ||
type: spark | ||
version: 3 | ||
display_name: Spark word count | ||
description: Spark word count | ||
|
||
|
||
inputs: | ||
file_input: | ||
type: uri_file | ||
mode: direct | ||
|
||
entry: | ||
file: wordcount.py | ||
|
||
args: >- | ||
--input1 ${{inputs.file_input}} | ||
conf: | ||
spark.driver.cores: 1 | ||
spark.driver.memory: "2g" | ||
spark.executor.cores: 2 | ||
spark.executor.memory: "2g" | ||
spark.executor.instances: 4 | ||
additional_includes: | ||
- common_src |