Dataproc サーバーレスのサービス アカウント
Dataproc サーバーレスのバッチ ワークロードは、バッチ ワークロードの送信時にサービス アカウントを指定しない限り、Compute Engine のデフォルト サービス アカウントとして実行されます。
Google Cloud コンソール、gcloud
コマンドライン ツール、または Dataproc サーバーレス API を使用してバッチ ワークロードを送信するときに、サービス アカウントを指定できます。
Console
コンソールの [バッチ作成] ページの [実行構成] セクションで、サービス アカウント フィールドにサービス アカウントのメールアドレスを挿入します。
gcloud コマンド
バッチ ワークロードの送信時に、gcloud dataproc batchs submit コマンドで --service-account
フラグを使用します。
例:
gcloud dataproc batches submit spark \
--region=region \
--service-account=service-account-name@project-id.iam.gserviceaccount.com \
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-08-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"わかりにくい"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"情報またはサンプルコードが不正確"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"必要な情報 / サンプルがない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]