remove redundance code in HDIsight file.