refractor hadoop yarn framework, add tracking url and history server