Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 687B5200BBE for ; Fri, 28 Oct 2016 03:05:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 65274160AF6; Fri, 28 Oct 2016 01:05:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ADC1E160B01 for ; Fri, 28 Oct 2016 03:05:00 +0200 (CEST) Received: (qmail 98138 invoked by uid 500); 28 Oct 2016 01:04:59 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 97811 invoked by uid 99); 28 Oct 2016 01:04:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 01:04:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 480B02C1F5A for ; Fri, 28 Oct 2016 01:04:59 +0000 (UTC) Date: Fri, 28 Oct 2016 01:04:59 +0000 (UTC) From: "Yiqun Lin (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-11061) Fix dfs -count -t or update its documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Oct 2016 01:05:01 -0000 [ https://issues.apache.org/jira/browse/HDFS-11061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11061: ----------------------------- Attachment: HDFS-11061.004.patch > Fix dfs -count -t or update its documentation > --------------------------------------------- > > Key: HDFS-11061 > URL: https://issues.apache.org/jira/browse/HDFS-11061 > Project: Hadoop HDFS > Issue Type: Bug > Components: fs > Reporter: Wei-Chiu Chuang > Assignee: Yiqun Lin > Priority: Minor > Labels: docuentation, supportability > Attachments: HDFS-11061.001.patch, HDFS-11061.002.patch, HDFS-11061.003.patch, HDFS-11061.004.patch > > > According to dfs -count command line help, -t option must be used along with -q. > * However, the current behavior is that -t can be used without -q, it's just silently ignored. > * In addition, -t may also be used with -u. > * The FileSystemShell doc does not state -t must be used along with -q. This should either be enforced in the code, or update the doc/command line. > * Also, the list of possible parameters for -t option is not described in the doc. Looking at the code (Count.java), the list of possible parameters are either empty string (="all"), "all", "ram_disk", "ssd", "disk" or "archive" (caseless) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org