Dataproc gcloud default_config 权限被拒绝错误
Dataproc gcloud default_config permission denied error
我们的项目正在使用 dataproc,我已经检查了主计算引擎和工作计算引擎中指示的服务帐户,它具有我的存储桶存储所需的权限。尽管如此,在日志查看器中我看到了以下内容:
(gsutil) Failed to create the default configuration. Ensure your have the correct permissions on: [/home/.config/gcloud/configurations]. Could not create directory [/home/.config/gcloud/configurations]: Permission denied. Please verify that you have permissions to write to the parent directory.
我该怎么做才能解决这个问题?我应该从此存储桶下载一些文件并使用 gsutil 来执行此操作。
PS:我尝试使用 action.sh 来查找登录用户,但没有任何结果。
PS2:我们正在使用 SparkSession 进行此操作。
gsutil 权限错误与 IAM 权限无关,而是 Linux 用户权限。您可以通过 SSH 连接到 VM 并检查您是否有权创建该文件夹吗?您也可以运行 gsutil ...
来测试命令。
打开 google 云的支持票后,提示这是 Unix 权限错误,他们建议我使用可以正常工作的 gcs-connector。
我们的项目正在使用 dataproc,我已经检查了主计算引擎和工作计算引擎中指示的服务帐户,它具有我的存储桶存储所需的权限。尽管如此,在日志查看器中我看到了以下内容:
(gsutil) Failed to create the default configuration. Ensure your have the correct permissions on: [/home/.config/gcloud/configurations]. Could not create directory [/home/.config/gcloud/configurations]: Permission denied. Please verify that you have permissions to write to the parent directory.
我该怎么做才能解决这个问题?我应该从此存储桶下载一些文件并使用 gsutil 来执行此操作。
PS:我尝试使用 action.sh 来查找登录用户,但没有任何结果。
PS2:我们正在使用 SparkSession 进行此操作。
gsutil 权限错误与 IAM 权限无关,而是 Linux 用户权限。您可以通过 SSH 连接到 VM 并检查您是否有权创建该文件夹吗?您也可以运行 gsutil ...
来测试命令。
打开 google 云的支持票后,提示这是 Unix 权限错误,他们建议我使用可以正常工作的 gcs-connector。