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 HairongKuang
Date Fri, 30 Jun 2006 21:20:33 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 HairongKuang:
http://wiki.apache.org/lucene-hadoop/hadoop-0%2e1-dev/bin/hadoop_dfs

------------------------------------------------------------------------------
  hadoop dfs is the command used to execute dfs commands. The full syntax is 
- hadoop dfs [-local | -dfs <namenode:port>] [-ls <path>] [-lsr <path>]
[-du <path>] [-mv <src> <dst>] [-cp <src> <dst>] [-rm <src>]
[-put <localsrc> <dst>] [-copyFromLocal <localsrc> <dst>] [-moveFromLocal
<localsrc> <dst>] [-get <src> <localdst>] [-cat <src>] [-copyToLocal
<src><localdst>] [-moveToLocal <src> <localdst>] [-mkdir <path>]
[-report] [-setrep [-R] <rep> <path/file>]
+ hadoop dfs -fs [local | <namenode:port>] [-ls <path>] [-lsr <path>] [-du
<path>] [-mv <src> <dst>] [-cp <src> <dst>] [-rm <src>]
[-put <localsrc> <dst>] [-copyFromLocal <localsrc> <dst>] [-moveFromLocal
<localsrc> <dst>] [-get <src> <localdst>] [-cat <src>] [-copyToLocal
<src><localdst>] [-moveToLocal <src> <localdst>] [-mkdir <path>]
[-report] [-setrep [-R] <rep> <path/file>]
  
- [-local | -dfs <namenode:port>]: if not specified, the current configuration is used,
taken from the following, in increasing precedence:
+ -fs [local | <namenode:port>]: if not specified, the current configuration is used,
taken from the following, in increasing precedence:
     * hadoop-default.xml inside the hadoop jar file
     * hadoop-default.xml in $HADOOP_CONF_DIR
     * hadoop-site.xml in $HADOOP_CONF_DIR
- -local means use the local file system as your DFS, -dfs <namenode:port> specifies
a particular name node to contact.
+ local means use the local file system as your DFS, -<namenode:port> specifies a particular
name node to contact.
  this argument is optional but if used must appear first on the command line.
  
  exactly one additional argument must be specified.

Mime
View raw message