Adding compression to Hadoop save functions