[HBASE-1967] EC2 scripts; do not explicitly specify an ami in the config
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@884458 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e505eb385c
commit
afb2a3ef06
|
@ -102,16 +102,12 @@ fi
|
|||
|
||||
if [ "$MASTER_INSTANCE_TYPE" = "m1.small" -o "$MASTER_INSTANCE_TYPE" = "c1.medium" ]; then
|
||||
MASTER_ARCH='i386'
|
||||
MASTER_AMI_IMAGE="ami-c644a7af"
|
||||
else
|
||||
MASTER_ARCH='x86_64'
|
||||
MASTER_AMI_IMAGE="ami-f244a79b"
|
||||
fi
|
||||
|
||||
if [ "$ZOO_INSTANCE_TYPE" = "m1.small" -o "$ZOO_INSTANCE_TYPE" = "c1.medium" ]; then
|
||||
ZOO_ARCH='i386'
|
||||
ZOO_AMI_IMAGE="ami-c644a7af"
|
||||
else
|
||||
ZOO_ARCH='x86_64'
|
||||
ZOO_AMI_IMAGE="ami-f244a79b"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue