refactor codes against hadoop-2.2.0
Merge pull request #1 from manuzhang/refactor_code_against_hadoop-2.2.0

refactor codes against hadoop-2.2.0