创建EMR的命令
aws emr create-cluster --auto-scaling-role EMR_AutoScaling_DefaultRole --termination-protected --region us-east-1 --name my-name --release-label emr-5.2.1 --applications Name = Hadoop Name = Hive Name = Pig Name = Hue Name = Spark --service-role EMR_DefaultRole --tags ASV = CI OwnerContact = myid CMDBEnvironment = myenv --ec2-attributes' KeyName = mykey,InstanceProfile = EMR_EC2_DefaultRole,SubnetId = subnet-121212,EmrManagedMasterSecurityGroup = sg-121212,AdditionalMasterSecurityGroups = [my security grps],EmrManagedSlaveSecurityGroup = sg-xxxxx,AdditionalSlaveSecurityGroups = [sg-xxxxx,sg-xxxx],ServiceAccessSecurityGroup = sg-xxxx' --instance-groups InstanceGroupType = MASTER,InstanceCount = 1,InstanceType = m3.xlarge InstanceGroupType = CORE,InstanceCount = 2,InstanceType = m3.xlarge --log-uri s3:// mybucket / --enable-debugging --security -configuration COF-Encrypted --bootstrap-actions' Path = s3://mybucket/code/tools/deployment/centrify-join.sh,Name=Centrify,Args= [dqa.capitalone.com,QAWS_ENVNP_ODEM_CG]& #39; - 附加信息' {' \'' ami64' \'':' \'' ami-8d40c69b'',' \'' amiHvm64' \'':' \&# 39;' ami-8d40c69b' \'',' \'' customAMI' \'':true ,' \'' hadoopConfigurationVersion' \''' \'' 4.0' \&#39 ;',' \'' instanceAwsClientConfiguration' \'':{' \'' proxyPort' ; \'':xxxx,' \'' proxyHost' \'':' \'& #39; MYPROXY' \'' }' - 输出文字
我收到了下面提到的错误
未知选项: - auto-scaling-role,EMR_AutoScaling_DefaultRole, - security-configuration,COF-Encrypted
任何人都可以在这方面提供帮助。