code cleaned in createTestDataInHDFS function
removed double assignment to variable hcatEndpoint