Hadoop configuration for Amazon EC2