FAQ
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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 6 | next ›
Discussion Overview
grouphdfs-user @
categorieshadoop
postedMar 16, '10 at 9:59a
activeMar 17, '10 at 11:37a
posts6
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Alex Parvulescu: 4 posts Varene Olivier: 2 posts

People

Translate

site design / logo © 2022 Grokbase