[ https://issues.apache.org/jira/browse/HDFS-6649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira AJISAKA updated HDFS-6649: -------------------------------- Labels: newbie (was: ) Target Version/s: 1.3.0 Status: Patch Available (was: Open) > Documentation for setrep is wrong > --------------------------------- > > Key: HDFS-6649 > URL: https://issues.apache.org/jira/browse/HDFS-6649 > Project: Hadoop HDFS > Issue Type: Bug > Components: documentation > Affects Versions: 1.0.4 > Reporter: Alexander Fahlke > Assignee: Akira AJISAKA > Priority: Trivial > Labels: newbie > Attachments: HDFS-6649.branch-1.patch > > > The documentation in: > http://hadoop.apache.org/docs/r1.0.4/file_system_shell.html#setrep states > that one must use the command as follows: > - {{Usage: hdfs dfs -setrep [-R] <path>}} > - {{Example: hdfs dfs -setrep -w 3 -R /user/hadoop/dir1}} > Correct would be to state that setrep needs the replication factor and the > replication factor needs to be right before the DFS path. > Must look like this: > - {{Usage: hdfs dfs -setrep [-R] [-w] <rep> <path/file>}} > - {{Example: hdfs dfs -setrep -w -R 3 /user/hadoop/dir1}} -- This message was sent by Atlassian JIRA (v6.2#6252)