Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use hadoop fs -getmerge to download .deflate files?

I've tried running

hadoop fs -getmerge 

on a directory of .deflate files. The result is a compressed file on my local machine.

What is the easiest way to download the entire directory in uncompressed format on to my local machine?

like image 570
zzztimbo Avatar asked Oct 08 '22 21:10

zzztimbo


1 Answers

Try this:

hadoop fs -text /some/where/job-output/part-* 
like image 101
Niels Basjes Avatar answered Oct 12 '22 11:10

Niels Basjes