gpt4 book ai didi

amazon-web-services - hadoop s3a中的Amazon s3Exception错误请求和位置约束

转载 作者:行者123 更新时间:2023-12-02 20:33:49 24 4
gpt4 key购买 nike

位置限制是否需要针对hadoop s3a的额外权限策略?

我看到了

Exception in thread "main" com.qubole.com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request;

对于所有具有
{
"LocationConstraint": "us-west-1"
}

在qubole hadoop中

但不适用于没有位置限制的铲斗
{
"LocationConstraint": null
}

最佳答案

从来没有见过,但我从来没有玩过那种限制。原因可能是客户端默认通过默认的中央端点而不是美国西部端点与S3进行通信。

s3a troubleshooting

fs.s3a.endpoint设置为相关的listed here

如果这有效-更新此问题...将是更新s3文档的内容

关于amazon-web-services - hadoop s3a中的Amazon s3Exception错误请求和位置约束,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52086421/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com