Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 2FEBB65C6 for ; Wed, 22 Jun 2011 02:19:09 +0000 (UTC) Received: (qmail 49598 invoked by uid 500); 22 Jun 2011 02:19:08 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 49541 invoked by uid 500); 22 Jun 2011 02:19:08 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 49347 invoked by uid 99); 22 Jun 2011 02:19:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2011 02:19:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2011 02:19:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 605DC4270DD for ; Wed, 22 Jun 2011 02:18:47 +0000 (UTC) Date: Wed, 22 Jun 2011 02:18:47 +0000 (UTC) From: "XieXianshan (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1022124624.27110.1308709127391.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2612) The result returned by the wrong usage of the command "job -counter "is not appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 The result returned by the wrong usage of the command "job -counter "is not appropriate --------------------------------------------------------------------------------------------------------------------------- Key: MAPREDUCE-2612 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2612 Project: Hadoop Map/Reduce Issue Type: Improvement Affects Versions: 0.23.0 Reporter: XieXianshan Priority: Minor Fix For: 0.23.0 The result returned by Map/Reduce command "job -counter " is always zero ,when use this command with incorrect group name or counter name. It is very easy to be misunderstood if users just make a spelling mistake. So,for more comprehensible information, more detailed results should be displayed as the following: [Could not find group FileSystemCounters_err] <--incorrect group name or [Could not find counter FILE_BYTES_READ_err in the group FileSystemCounters] <--incorrect counter name -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira