当尝试启动使用Apache星火EC2脚本中,我得到以下错误的EC2集群(c4.2xlarge):阿帕奇星火EC2 c4.2xlarge没有推出
Don't recognize c4.2xlarge, assuming type is pvm
Spark AMI: ami-9a6e0daa
Launching instances...
ERROR:boto:400 Bad Request
ERROR:boto:<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidParameterCombination</Code><Message>Virtualization type 'hvm' is required for instances of type 'c4.2xlarge'.</Message></Error></Errors
任何修复?
你可以添加你正在尝试使用的命令吗? – Guy
听起来像你正在使用的ami与实例类型不兼容(c4实例只有hvm) –
正如其他人指出的(并且在上面的输出中暗示),此实例类型尚不受支持。当它无法识别实例类型时,可以尝试[黑客脚本默认为hvm](https://github.com/apache/spark/blob/50ab8a6543ad5c31e89c16df374d0cb13222fd1e/ec2/spark_ec2.py#L401-L403)。 –