我在紅移運行以下命令:卸載從紅移到S3失敗
myDB=> unload ('select * from (select * from myTable limit 2147483647);')
to 's3://myBucket/'
credentials 'aws_access_key_id=***;aws_secret_access_key=***';
這是我得到的結果:
ERROR: S3ServiceException:The bucket you are attempting to access must be addressed
using the specified endpoint. Please send all future requests to this
endpoint.,Status 301,Error PermanentRedirect,Rid 85ACD9FFAFC5CE8F,
ExtRid vsz4/0NdOAYbaJ48WYCnrYBCvuuL0cBTdcEN
DETAIL:
-----------------------------------------------
error: S3ServiceException:The bucket you are attempting to access must be addressed
using the specified endpoint. Please send all future requests to this
endpoint.,Status 301,Error PermanentRedirect,Rid 85ACD9FFAFC5CE8F,
ExtRid vsz4/0NdOAYbaJ48WYCnrYBCvuuL0cBTdcEN
code: 8001
context: Listing bucket=myBucket prefix=
query: 0
location: s3_unloader.cpp:181
process: padbmaster [pid=19100]
-----------------------------------------------
有什麼想法?或者,也許想法如何將數據從Redshift轉儲到MySQL或類似的東西?
重新修改一下:Redshift集羣和S3存儲桶必須位於同一區域:) – eistrati