AWS访问密钥ID在hadoop fs -cp命令上失败 [英] AWS Access Key ID failed on hadoop fs -cp command

查看:333
本文介绍了AWS访问密钥ID在hadoop fs -cp命令上失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试运行hadoop fs -cp命令,但收到以下错误消息:

-cp:必须指定AWS访问密钥ID和秘密访问密钥作为s3 URL的用户名或密码(分别),或设置fs.s3.awsAccessKeyId或fs.s3.awsSecretAccessKey属性(分别)



我是新来hadoop和s3所以任何人都可以请给我建议我应该做什么?



谢谢!

解决方案

参考



转至


  1. 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

  1. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆