fix hadoop framework fractor and code clean