SparkJobEntry クラス
Spark ジョブのエントリ。
- 継承
-
azure.ai.ml.entities._mixins.RestTranslatableMixinSparkJobEntry
コンストラクター
SparkJobEntry(*, entry: str, type: str = 'SparkJobPythonEntry')
キーワードのみのパラメーター
名前 | 説明 |
---|---|
entry
|
ファイルまたはクラスのエントリ ポイント。 |
type
|
エントリの種類。 受け入れられる値は、SparkJobEntryType.SPARK_JOB_FILE_ENTRYまたはSparkJobEntryType.SPARK_JOB_CLASS_ENTRYです。 既定値は SparkJobEntryType.SPARK_JOB_FILE_ENTRY です。 既定値: SparkJobPythonEntry
|
例
SparkComponent の作成。
from azure.ai.ml.entities import SparkComponent
component = SparkComponent(
name="add_greeting_column_spark_component",
display_name="Aml Spark add greeting column test module",
description="Aml Spark add greeting column test module",
version="1",
inputs={
"file_input": {"type": "uri_file", "mode": "direct"},
},
driver_cores=2,
driver_memory="1g",
executor_cores=1,
executor_memory="1g",
executor_instances=1,
code="./src",
entry={"file": "add_greeting_column.py"},
py_files=["utils.zip"],
files=["my_files.txt"],
args="--file_input ${{inputs.file_input}}",
base_path="./sdk/ml/azure-ai-ml/tests/test_configs/dsl_pipeline/spark_job_in_pipeline",
)
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Python
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示