Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 483F8FAAE for ; Tue, 6 Aug 2013 10:11:31 +0000 (UTC) Received: (qmail 71027 invoked by uid 500); 6 Aug 2013 10:11:26 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 70948 invoked by uid 500); 6 Aug 2013 10:11:26 -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 70941 invoked by uid 99); 6 Aug 2013 10:11:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 10:11:26 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_IMAGE_ONLY_24,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of liulei412@gmail.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vb0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 10:11:21 +0000 Received: by mail-vb0-f41.google.com with SMTP id g17so162721vbg.14 for ; Tue, 06 Aug 2013 03:11:01 -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; bh=H+FUr5vCo34/+fvyfYcHS0RQVzorZos5ZVMwQ+9w69g=; b=E5tuPbY5PRmo90BplIMheT/R/HIk8Io/bQDlovTboju+3sygR2nESP6lQiL755M1CV ctohUWQIPlZpP0eTAD/N6dHXoaJFypCfU/SX6ffLI+ZP3Yquw1Le4g0Yl08kuJuFoXi3 +qod8zNYhCYRW3vjsFXwQWVof4McZBbnoQkY//x+CqRfYby/HEzych5sB0CCDFqh4LSy 2s5h2yfOmZ71l72ce1KlInJJl46V8KJ8ryA/Q5Uwn6e3tXCzcl0xTAkdKIgk4JSghhoy R3N7zJBvfAMS1QN7kHVgh5PkfHdAygQ0Ml0Ng7Mvabq8uZkuqYVhD2XHw6dyrPVHzstp ufng== MIME-Version: 1.0 X-Received: by 10.58.128.71 with SMTP id nm7mr146877veb.51.1375783861144; Tue, 06 Aug 2013 03:11:01 -0700 (PDT) Received: by 10.220.90.9 with HTTP; Tue, 6 Aug 2013 03:11:01 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Aug 2013 18:11:01 +0800 Message-ID: Subject: Re: throughput metrics in hadoop-2.0.5 From: lei liu To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b60518c54d1f904e344a406 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b60518c54d1f904e344a406 Content-Type: text/plain; charset=ISO-8859-1 There is "@Metric MutableCounterLong fsyncCount" metrics in DataNodeMetrics, the MutableCounterLong class continuously increase the value, so I think the value in ganglia should be "10, 20 ,30, 40" and so on. but the value the value is fsyncCount.value/10, that is in "1 ,1 , 1 , 1" in ganglia. How does ganglia to display the value of MutableCounterLong class? Is that "fsyncCount.value" or "fsyncCount.value/10"? 2013/8/6 lei liu > I use hadoop-2.0.5 and config hadoop-metrics2.properties file with below > content. > *.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31 > *.sink.ganglia.period=10 > *.sink.ganglia.supportsparse=true > namenode.sink.ganglia.servers=10.232.98.74:8649 > datanode.sink.ganglia.servers=10.232.98.74:8649 > > I write one programme that call FSDataOutputStream.hsync() method once > per second. > > There is "@Metric MutableCounterLong fsyncCount" metrics in > DataNodeMetrics, the MutableCounterLong class continuously increase the > value, so I think the value in ganglia should be 10, 20 ,30, 40 and so on. > but the value in ganglia is below: > > > [image: dw62.kgb.sqa.cm4 dfs.datanode.FsyncCount] > > > I want to know the ganglia how to display the value of MutableCounterLong > class? > > Thanks, > > LiuLei > --047d7b60518c54d1f904e344a406 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
There is "@Metric MutableCounterLong fsyncCount"= metrics in DataNodeMetrics, the MutableCounterLong class continuously increase the value, so I think the value = in ganglia should be "10, 20 ,30, 40" and so on.=A0 but=A0 the va= lue the value is fsyncCount.value/10, that is in=A0 "1 ,1 , 1 , 1"= ;=A0 in ganglia.

=A0How does ganglia=A0 to display the value of MutableCounterLong class= ? Is that "fsyncCount.value" or "fsyncCount.value/10"?<= br>



2013/8/6 lei liu <liulei412@gmail.com>
I use hadoop-2.0.5 and config hadoop-metrics2.propert= ies file with below content.
*.sink.ganglia.class=3Dorg.apache.hadoop.me= trics2.sink.ganglia.GangliaSink31
*.sink.ganglia.period=3D10
*.sink.g= anglia.supportsparse=3Dtrue
namenode.sink.ganglia.servers=3D10.232.98.74:8649
datanode.sink.ganglia.servers=3D10.232.98.74:8649
<= br>I write one programme that call FSDataOutputStream.hsync() method= once per second.

There is "@Metric MutableCounterLong fsyncCount" metrics in D= ataNodeMetrics, the MutableCounterLong class contin= uously increase the value, so I think the value in ganglia sh= ould be 10, 20 ,30, 40 and so on.=A0 but=A0 the value in ganglia is below:<= br>


3D"dw62.kgb.sqa.cm4


I want to know the ganglia how to display the= value of MutableCounterLong class?

Thanks,

=
LiuLei

--047d7b60518c54d1f904e344a406--