Re: Pig Output

2011-12-05 Thread Russell Jurney
hadoop dfs cat /my/path/* > single_file Russell Jurney twitter.com/rjurney russell.jur...@gmail.com datasyndrome.com On Dec 5, 2011, at 12:30 PM, Aaron Griffith wrote: > Using PigStorage() my pig script output gets put into partial files on the > hadoop > file system. > > When I use the copyTo

Re: Pig Output

2011-12-05 Thread Bejoy Ks
Hi Aaron Instead of copyFromLocal use getmerge. It would do your job. The syntax for CLI is hadoop fs -getmerge /xyz.txt Hope it helps!... Regards Bejoy.K.S On Tue, Dec 6, 2011 at 1:57 AM, Aaron Griffith wrote: > Using PigStorage() my pig script output gets put into partial files on

Pig Output

2011-12-05 Thread Aaron Griffith
Using PigStorage() my pig script output gets put into partial files on the hadoop file system. When I use the copyToLocal fuction from Hadoop it creates a local directory with all the partial files. Is there a way to copy the partial files from hadoop into a single local file? Thanks