我有一个forward slash
在 aws 密钥中。
当我尝试连接到 s3 接收器时
Caused by: java.lang.IllegalArgumentException: Invalid hostname in URI s3://xxxx:xxxx@jelogs/je.1359961366545
at org.apache.hadoop.fs.s3.S3Credentials.initialize(S3Credentials.java:41)
当我用正斜杠编码时%2F
, I get
The request signature we calculated does not match the signature you provided. Check your key and signing method.
我应该如何编码我的密钥。
samthebest 解决方案有效,您只需在按键周围添加“”即可。这里是如何使用它:
hadoop distcp -Dfs.s3a.awsAccessKeyId="yourkey" -Dfs.s3a.awsSecretAccessKey="yoursecret" <your_hdfs_path> s3a://<your-bucket>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)