AWS访问密钥ID在hadoop fs -cp命令上失败 [英] AWS Access Key ID failed on hadoop fs -cp command
问题描述
我尝试运行hadoop fs -cp命令,但收到以下错误消息:
-cp:必须指定AWS访问密钥ID和秘密访问密钥作为s3 URL的用户名或密码(分别),或设置fs.s3.awsAccessKeyId或fs.s3.awsSecretAccessKey属性(分别)
我是新来hadoop和s3所以任何人都可以请给我建议我应该做什么?
谢谢!
请参考。
转至
-
cd $ {HADOOP_HOME} /conf/hadoop-site.xml并添加/更新
<属性>
< name> fs.s3.awsAccessKeyId< / name>
<值>您的AWS ACCESS KEY< /值>
< / property>
<属性>
<名称> fs.s3.awsSecretAccessKey< / name>
<值>您的AWS秘密访问密钥< /值>
< / property>
I was trying to run the hadoop fs -cp command but got the following error message:
-cp: AWS Access Key ID and Secret Access Key must be specified as the username or password (respectively) of a s3 URL, or by setting the fs.s3.awsAccessKeyId or fs.s3.awsSecretAccessKey properties (respectively)
I'm new to hadoop and s3 so can anyone please give advice on what I should do?
Thanks!
Please refer .
go to
cd ${HADOOP_HOME}/conf/hadoop-site.xml and add/update
<property> <name>fs.s3.awsAccessKeyId</name> <value>Your AWS ACCESS KEY</value> </property> <property> <name>fs.s3.awsSecretAccessKey</name> <value>Your AWS Secret Access Key</value> </property>
这篇关于AWS访问密钥ID在hadoop fs -cp命令上失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!