Please try
Zcat <gzipped file> | bin/hadoop dfs -put - <dst file>

Hairong 

-----Original Message-----
From: Mark Meissonnier [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 31, 2007 5:17 PM
To: [email protected]
Subject: Pipe/redirection to HDFS?

Hi,
is it possible to pipe/redirect something to HDFS?
Say you have a gz file that you want to put in distributed filesystem in an
uncompressed form, do you have to make a local file first? What if that file
is huge?
Thanks
Mark

Reply via email to