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 C32B910BA3 for ; Mon, 5 Aug 2013 10:51:16 +0000 (UTC) Received: (qmail 35491 invoked by uid 500); 5 Aug 2013 10:51:11 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 35393 invoked by uid 500); 5 Aug 2013 10:51:11 -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 35383 invoked by uid 99); 5 Aug 2013 10:51:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 10:51:09 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of decstery@gmail.com designates 209.85.219.51 as permitted sender) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 10:51:03 +0000 Received: by mail-oa0-f51.google.com with SMTP id h1so5774820oag.38 for ; Mon, 05 Aug 2013 03:50:42 -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=IiOcjzttGGKoQmmjVTpuIwZ+CdrvNhyjAHtlTiSxdWE=; b=gJDZQGcHcFiGFvMBjC2mrGHO7kwvdBTB2aWo+zLY5KQAnGlYy7I+WrAFpu4He0ia0z 1YVJIn9ZEtBsn0T12o3bhEw4TZezDyakK5S+LbmQhpYiZNauXW80ncLlo4lltfH8LPyO V7wTvKKZCgzDbGRJURHS8/2gRWlwEWJFX2yESkskP8Q9pM8V5E0MTyGR1bTJxarlqj2b 92fYV5i6Hs5vEAMdXk7zSzut9YfM4fH59Jv6rW9LE/o0EOoIrYbgzY4JP3u5FbSQRe24 nN2WM1e4zbO089ykWYhSURBBMnNuLfueXfuljfDdl9pWJqJz47yp+L2FBXuq2O/Trnhx 3sCg== MIME-Version: 1.0 X-Received: by 10.42.25.12 with SMTP id y12mr1582072icb.64.1375699842276; Mon, 05 Aug 2013 03:50:42 -0700 (PDT) Received: by 10.64.18.42 with HTTP; Mon, 5 Aug 2013 03:50:42 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Aug 2013 18:50:42 +0800 Message-ID: Subject: Re: metics v1 in hadoop-2.0.5 From: Binglin Chang To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=20cf30434d326aa55204e3311424 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30434d326aa55204e3311424 Content-Type: text/plain; charset=UTF-8 metrics v1 is deprecated, both in 1.2 and 2.x. the existence of hadoop-metrics.properties is confusing, I think it should be removed. On Mon, Aug 5, 2013 at 6:26 PM, lei liu wrote: > There is hadoop-metrics.properties file in etc/hadoop directory. > I config the file with below content: > dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 > dfs.period=10 > dfs.servers=dw74:8649 > > But the configuration does not work. > > Do I only use metrics v2 in hadoop-2.0.5? > > > 2013/8/5 lei liu > >> Can I use metrics v1 in hadoop-2.0.5? >> >> Thanks, >> >> LiuLei >> > > --20cf30434d326aa55204e3311424 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
metrics v1 is deprecated, both in 1.2 and 2.x.

the existence of=C2=A0hadoop-metrics.properties is confusing, I think it should be remov= ed.


O= n Mon, Aug 5, 2013 at 6:26 PM, lei liu <liulei412@gmail.com> wrote:
There is had= oop-metrics.properties file=C2=A0 in etc/hadoop directory.
I confi= g the file with below content:
=C2=A0dfs.class=3Dorg.apache.hadoop.metrics.ganglia.GangliaContext31
=C2= =A0dfs.period=3D10
=C2=A0dfs.servers=3Ddw74:8649

But the configuration does not work.

<= span>Do I only use metrics v2 in hadoop-2.0.5?


2013/8/5 lei liu <liule= i412@gmail.com>
Can I use metrics v1 in hadoop-2.0.5?

Thanks,

LiuLei


--20cf30434d326aa55204e3311424--