hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhruba Borthakur" <dhr...@yahoo-inc.com>
Subject RE: hadoop dfs shell application
Date Sun, 19 Nov 2006 05:19:55 GMT
Hi John,

The closest you got is bin/hadoop dfs -<unix-like-command>. For example, to
list all files in a directory named foodir, one would do

bin/hadoop dfs -ls /foodir.

Similarly, to 'cat' a file one would do

bin/hadoop dfs -cat /foordir/filename

This is a non-interactive shell and the source code is in

Hope this helps,

-----Original Message-----
From: John Wang [mailto:john.wang@gmail.com] 
Sent: Saturday, November 18, 2006 3:39 PM
To: hadoop-user@lucene.apache.org
Subject: hadoop dfs shell application

Is there a shell someone has written or writing to hadoop? e.g. a simple
unix shell that executes file commands to a HDFS such as, ls, rm, cp ...?



View raw message