서버리스 Dataproc 서비스 계정
서버리스 Dataproc 배치 워크로드는 배치 워크로드를 제출할 때 서비스 계정을 지정하지 않는 한 Compute Engine 기본 서비스 계정으로 실행됩니다.
Google Cloud 콘솔, gcloud
명령줄 도구 또는 서버리스 Dataproc API를 사용하여 배치 워크로드를 제출할 때 서비스 계정을 지정할 수 있습니다.
콘솔
Google Cloud 콘솔의 배치 만들기 페이지에 있는 실행 구성 섹션의 서비스 계정 필드에 서비스 계정 이메일 주소를 입력합니다.
gcloud 명령
배치 워크로드를 제출할 때 gcloud dataproc batches 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-07-02 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":"기타"
}]