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 src/java/org/apache/hadoop/dfs/DFSShell.java Hope this helps, dhruba -----Original Message----- From: John Wang [mailto:[EMAIL PROTECTED] Sent: Saturday, November 18, 2006 3:39 PM To: [email protected] 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 ...? Thanks -John
