DynomitemanagerConfiguration had a bug where getRegion() (renamed to getDataCenter()) only checked the EC2_REGION env var.
The old getRegion() would return an empty region which would cause cascading failure.
I noticed the error when I got a null hostname exception by setting neither the EC2_REGION env var nor the value in a .properties file. However, EC2 metadata was returning the correct AZ, which was parsed to region, but was not used by getRegion()....thus the exception.
simple single file change to remove SimpleDB from default config source
DynomitemanagerConfiguration
had a bug wheregetRegion()
(renamed togetDataCenter()
) only checked theEC2_REGION
env var.The old
getRegion()
would return an empty region which would cause cascading failure.I noticed the error when I got a null hostname exception by setting neither the
EC2_REGION
env var nor the value in a.properties
file. However, EC2 metadata was returning the correct AZ, which was parsed to region, but was not used bygetRegion()
....thus the exception.