Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DD5010602 for ; Sat, 31 Aug 2013 19:45:34 +0000 (UTC) Received: (qmail 40791 invoked by uid 500); 31 Aug 2013 19:45:23 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 40678 invoked by uid 500); 31 Aug 2013 19:45:22 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 40671 invoked by uid 99); 31 Aug 2013 19:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 19:45:22 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeetuyadav200890@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 19:45:15 +0000 Received: by mail-lb0-f175.google.com with SMTP id y6so2842746lbh.34 for ; Sat, 31 Aug 2013 12:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=IXFwFbbL68dOatuaHeMHNS9JmC0W5bPCEDYvgn/BwBc=; b=mcfyNqtYdsw/wnMJPOLSvR/+IHtKqXCk8sab2DHIiMPLVoA2NiAcNWAMeqKG+h8U/g yop3B2ioL0mjXOeByelIAN7aym8l5o53lGOo4CQWWkukRB1iSROqc8U4/bmeQEa+qk/7 wS87YA/B9jEzwVxtv/c/RyLWzmcjOamckTPSWL8CKaI6mCxI2MuzOzO6GCnKTlBnrw+v GFpDyXy0TTcWWCF+aHC4OP1Z7XHuX/iBG88JPvmeh1tu3rc5EU+nxI2+AooqekVGcRpN +4CAGSq34XulR35zM1qa/8MKF1yiT5IgzFcnsLzWh7CHEfipYJZF7CUA4GrPuEL2VSh+ exVw== MIME-Version: 1.0 X-Received: by 10.152.120.73 with SMTP id la9mr13513525lab.3.1377978295219; Sat, 31 Aug 2013 12:44:55 -0700 (PDT) Received: by 10.112.180.70 with HTTP; Sat, 31 Aug 2013 12:44:55 -0700 (PDT) In-Reply-To: References: Date: Sun, 1 Sep 2013 01:14:55 +0530 Message-ID: Subject: Re: metric type From: Jitendra Yadav To: user@hadoop.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Yes, MutableCounterLong helps to gather DataNode read/write statics. There is more option available within this metric Regards Jitendra On 8/31/13, lei liu wrote: > There is @Metric MutableCounterLong bytesWritten attribute in > DataNodeMetrics, which is used to IO/sec statistics? > > > 2013/8/31 Jitendra Yadav > >> Hi, >> >> For IO/sec statistics I think MutableCounterLongRate and >> MutableCounterLong more useful than others and for xceiver thread >> number I'm not bit sure right now. >> >> Thanks >> Jiitendra >> On Fri, Aug 30, 2013 at 1:40 PM, lei liu wrote: >> > >> > Hi Jitendra, >> > If I want to statistics number of bytes read per second,and display th= e >> result into ganglia, should I use MutableCounterLong or MutableGaugeLong= ? >> > >> > If I want to display current xceiver thread number in datanode into >> ganglia, should I use MutableCounterLong or MutableGaugeLong? >> > >> > Thanks, >> > LiuLei >> > >> > >> > 2013/8/30 Jitendra Yadav >> >> >> >> Hi, >> >> >> >> Below link contains the answer for your question. >> >> >> >> >> http://hadoop.apache.org/docs/r1.2.0/api/org/apache/hadoop/metrics2/pack= age-summary.html >> >> >> >> Regards >> >> Jitendra >> >> >> >> On Fri, Aug 30, 2013 at 11:35 AM, lei liu wrote= : >> >>> >> >>> I use the metrics v2, there are COUNTER and GAUGE metric type in >> metrics v2. >> >>> What is the difference between the two=EF=BC=9F >> >>> >> >>> Thanks, >> >>> LiuLei >> >> >> >> >> > >> >