You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by James Newhaven <ja...@gmail.com> on 2012/06/07 12:09:04 UTC

Saving files to HDFS

I have a pig script that creates tuples containing JSON.

I want to save the content of each tuple to a separate file e.g. file1.json
to HDFS.

So, my question is, is it possible to write a store function that can save
each tuple as an individual file to HDFS?

Thanks,
James