Maxcompute 访问 OSS 的权限问题
在读取外部表的时候,报了这样的错:
FAILED: Generating job conf failed, gen jobconf failed:
Failed to obtain external data information, error msg:
build/release64/common/io/oss/oss_client.cpp(97): OSSRequestException: req_id: 5F110AC115158031331734EA,
http status code: 403, error code: UnknownError, message: Access denied,
please make sure the oss host and oss bucket is matched,
and the bucket should be authorized to the odps project with correct role_arn
这个报错信息不是很清晰,试了很多方法还是没搞定,无奈问了阿里云技术人员,说报错 403 是因为找不到地址(又是权限问题,运维的同学又修改东西了)。
接着我在新建外部表的时候,报了这样的错误:
<Code>AccessDenied</Code> <Message>The bucket you access does not belong to you.</Message>
这个就比较清晰了,解决方案见下文档:https://help.aliyun.com/document_detail/72777.html?spm=a2c4g.11186623.6.786.136e6d03xKJI2D
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论