Sweet. It works. Thanks
Someone should put it on this wiki page
http://wiki.apache.org/lucene-hadoop/hadoop-0.1-dev/bin/hadoop_dfs
I don't have editing priviledges. 

-----Original Message-----
From: Hairong Kuang [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 31, 2007 6:39 PM
To: [email protected]
Subject: RE: Pipe/redirection to HDFS?

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