2016-08-20 9 views
0

私はdoc:http://docs.aws.amazon.com/ElasticMapReduce/latest/ReleaseGuide/emr-dev-create-metastore-outside.htmlに従い、awscli == 1.10.38を使用してemrクラスタを作成しようとしています。ドキュメントに記載さaws emr cliでハイブ設定を渡す

私は、次のコマンドを使用します。

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 

文書で述べたように、私もまったく同じhiveConfiguration.jsonを使用しています。

が、それは"AWS:エラー:オプション--configurationsのための無効なJSON引数" と言う

は、なぜ私はエラーが出るのですか?

答えて

3

--configurationsへのあなたの議論は間違っています。 Missing file:// CLIはファイルまたはS3オブジェクトを指定していることを知る必要があります。

aws emr create-cluster --configurations file://hiveConfiguration.json 
+0

ありがとうございます – YBathia

関連する問題