hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varene Olivier <var...@echo.fr>
Subject Re: Output 'hadoop dfs -get' to stdout
Date Tue, 16 Mar 2010 10:28:45 GMT
Hello Alex,

get writes down a file on your FileSystem

hadoop dfs [-get [-ignoreCrc] [-crc] <src> <localdst>]

with
   src : your file in your hdfs
   localdst : the name of the file with the collected data (from src) on 

      your local filesystem


To get the results to STDOUT,
you can use cat

hadoop dfs [-cat <src>]

with src : your file in your hdfs

Regards
Olivier

Alex Parvulescu a écrit :
> Hello,
> 
> Is there a reason for which 'hadoop dfs -get' will not output to stdout?
> 
> I see 'hadoop dfs -put' can handle stdin.  It would seem that dfs would 
> have to also support outputing to stdout.
> 
> 
> thanks,
> alex
> 
> 
> 

Mime
View raw message