hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "hadoop-0.1-dev/bin/hadoop dfs" by YoramArnon
Date Fri, 16 Jun 2006 00:16:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by YoramArnon:
http://wiki.apache.org/lucene-hadoop/hadoop-0%2e1-dev/bin/hadoop_dfs

------------------------------------------------------------------------------
  -du <path>: show the amount of space, in bytes, used by given path. Equivalent to
the unix command "du -sb <path>/*" in case of a directory, and to "du -b <path>"
in case of a file
  
  -mv <src> <dst>: move a file or directory from one location in dfs to another.
Equivalent to the Unix command mv <src> < dst>
+ 
  -cp <src> <dst>: copy a file or directory from one location in dfs to another.
Equivalent to the Unix command cp -rf <src> < dst>
+ 
  -rm <src>: remove a file or directory. Equivlent to the Unix command "rm -rf <src>".
+ 
  -put <localsrc> <dst>: copy a single file from the local file system into dfs.
  -copyFromLocal <localsrc> <dst>: identical to the -put command
+ 
  -moveFromLocal <localsrc> <dst>: same as -put, except that the source is deleted
after it's copied.
+ 
  -get <src> <localdst>] [-cat <src>:
  -copyToLocal <src><localdst>: copy a single file from dfs to a local file
+ 
  -moveToLocal <src> <localdst>: not implemented yet
- -mkdir <path>:
- -report:
- -setrep [-R] <rep> <path/file>
  
+ -mkdir <path>: create a directory in specified location.
+ 
+ -report: print statistics about the file system
+ 
+ -setrep [-R] <rep> <path/file>: set the replication level of a file. The -R
flag requests a recursive change of replication level for an entire tree
+ 

Mime
View raw message