STORE data into 'compressedoutput.bz2' USING SomeStore();
Taadaa!!! You are done!
Aother advantage of bz2 is this format is splittable.So if some other subsequent Map/Reduce job is going to read this data, it can be split giving more parallelism.
Awesome easy? isn't it?!