클러스터의 가상 머신에서 사용자 관리 서비스 계정 또는 기본 Compute Engine 서비스 계정을 사용하는지에 관계없이 Cloud Data Fusion에 서비스 계정 사용자 역할을 부여해야 합니다. 그렇지 않으면 Cloud Data Fusion은 Dataproc 클러스터를 프로비저닝할 수 없으며 데이터 파이프라인을 실행할 때 다음 오류가 표시됩니다.
PROVISION task failed in REQUESTING_CREATE state for program run [pipeline-name] due to Dataproc operation failure: INVALID_ARGUMENT: User not authorized to act as service account '[service-account-name]'
서비스 계정 이름 가져오기
Google Cloud Console에서 Identity and Access Management 페이지로 이동합니다. IAM 페이지로 이동
페이지 상단의 프로젝트 선택기에서 Cloud Data Fusion 인스턴스가 속한 프로젝트, 폴더 또는 조직을 선택합니다.
Cloud Data Fusion 서비스 계정 이름을 찾아 복사합니다. service-[project-number]@gcp-sa-datafusion.iam.gserviceaccount.com 형식을 사용합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-21(UTC)"],[[["To allow Cloud Data Fusion to provision and run pipelines on Dataproc clusters, the Cloud Data Fusion Service Agent must be granted the Service Account User role on the Dataproc Service Account."],["For Dataproc service accounts, it's also necessary to grant `datafusion.instances.runtime` permission to enable access to Cloud Data Fusion runtime resources."],["If the Service Account User role is not granted, Cloud Data Fusion will be unable to provision a Dataproc cluster, resulting in an error during pipeline execution."],["The Cloud Data Fusion runner role and Cloud Storage admin role must be granted to service accounts used by Dataproc to authorize the execution of Cloud Data Fusion pipelines and access Cloud Storage resources."],["You can grant these permissions in the UI when you create an instance starting in Cloud Data Fusion versions 6.2.3, alternatively you can follow the manual steps provided to grant these roles."]]],[]]