[
https://issues.apache.org/jira/browse/HDFS-6649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira AJISAKA updated HDFS-6649:
--------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed this to branch-1. Thanks [~qwertymaniac] for your review!
> 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
> Fix For: 1.3.0
>
> 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.3.4#6332)