change mapred config to new style and configure to use yarn. add yarn config.
add startup for dfs and yarn