Improve the performance of data transfer between Mapper and Reducer is by using the Combiner function. Combiner works as a mini reducer which operates on data generated by Mapper and used for the purpose of optimization.
2nd option is we can compress the intermediate output generated by Mapper with the below command in driver class