Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 206C5117ED for ; Thu, 10 Jul 2014 05:37:05 +0000 (UTC) Received: (qmail 95714 invoked by uid 500); 10 Jul 2014 05:37:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 95659 invoked by uid 500); 10 Jul 2014 05:37:04 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 95646 invoked by uid 99); 10 Jul 2014 05:37:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 05:37:04 +0000 Date: Thu, 10 Jul 2014 05:37:04 +0000 (UTC) From: "Hadoop QA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6649) Documentation for setrep is wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-6649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057151#comment-14057151 ] Hadoop QA commented on HDFS-6649: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12654939/HDFS-6649.branch-1.patch against trunk revision . {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/7319//console This message is automatically generated. > 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] }} > - {{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] }} > - {{Example: hdfs dfs -setrep -w -R 3 /user/hadoop/dir1}} -- This message was sent by Atlassian JIRA (v6.2#6252)