add a better YARN configuration
several fix on YARN for Hue