fixing hadoop environment variables on ec2 image