modify for cdh5
Merge pull request #41 from shimingfei/yarn

modify for cdh5 with Yarn