YBa*_*hia 0 hive amazon-web-services amazon-emr emr aws-cli
我正在关注文档:http : //docs.aws.amazon.com/ElasticMapReduce/latest/ReleaseGuide/emr-dev-create-metastore-outside.html, 并尝试使用awscli == 1.10.38创建emr集群。
我使用文档中提到的以下命令:
aws emr create-cluster --release-label emr-5.0.0 --instance-type m3.xlarge --instance-count 2 \
--applications Name=Hive --configurations ./hiveConfiguration.json --use-default-roles
Run Code Online (Sandbox Code Playgroud)
我还使用与文档中提到的完全相同的hiveConfiguration.json。
但显示“ aws:错误:选项--configurations的json参数无效”
为什么会出现错误?
您对的说法--configurations不正确。缺少file:// CLI需要知道您正在指定文件或S3对象。
aws emr create-cluster --configurations file://hiveConfiguration.json
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1008 次 |
| 最近记录: |