Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B534C192 for ; Fri, 4 May 2012 16:03:11 +0000 (UTC) Received: (qmail 40653 invoked by uid 500); 4 May 2012 16:03:11 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 40607 invoked by uid 500); 4 May 2012 16:03:11 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 40599 invoked by uid 99); 4 May 2012 16:03:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 16:03:11 +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; Fri, 04 May 2012 16:03:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E6225430765 for ; Fri, 4 May 2012 16:02:49 +0000 (UTC) Date: Fri, 4 May 2012 16:02:49 +0000 (UTC) From: "Roman Shaposhnik (JIRA)" To: bigtop-dev@incubator.apache.org Message-ID: <2138353701.27553.1336147369944.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1912049733.26521.1336131648064.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (BIGTOP-577) [base conf] There's no hadoop-metrics2.properties present in the configs that are shipped. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BIGTOP-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman Shaposhnik updated BIGTOP-577: ------------------------------------ Attachment: BIGTOP-577.patch.txt > [base conf] There's no hadoop-metrics2.properties present in the configs that are shipped. > ------------------------------------------------------------------------------------------ > > Key: BIGTOP-577 > URL: https://issues.apache.org/jira/browse/BIGTOP-577 > Project: Bigtop > Issue Type: Improvement > Components: General > Affects Versions: 0.4.0 > Reporter: Harsh J > Priority: Minor > Fix For: 0.4.0 > > Attachments: BIGTOP-577.patch.txt > > > The 0.23 and higher Hadoop versions make use of hadoop-metrics2.properties files. I don't see this being present in the pseudo-conf listing at least: > {code} > [root@test ~]# ls -l /etc/hadoop/conf/ > total 40 > -rwxr-xr-x. 1 root root 1461 Apr 22 02:30 core-site.xml > -rwxr-xr-x. 1 root root 1364 Apr 22 02:30 hadoop-env.sh > -rwxr-xr-x. 1 root root 2890 Apr 22 02:30 hadoop-metrics.properties > -rwxr-xr-x. 1 root root 1875 May 3 18:54 hdfs-site.xml > -rwxr-xr-x. 1 root root 8511 Apr 30 14:41 log4j.properties > -rwxr-xr-x. 1 root root 1325 Apr 22 02:30 mapred-site.xml > -rwxr-xr-x. 1 root root 1104 Apr 22 02:30 README > -rwxr-xr-x. 1 root root 2077 May 4 11:54 yarn-site.xml > {code} > And hence it leads to logs in RM such as: > {{2012-05-03 20:11:57,331 WARN org.apache.hadoop.metrics2.impl.MetricsConfig: Cannot locate configuration: tried hadoop-metrics2-resourcemanager.properties,hadoop-metrics2.properties}} > We have this file available in the sources of upstream Hadoop, but does not look like it gets packaged here: > {code} > ./hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties > ./hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-metrics2.properties > ./hadoop-hdfs-project/hadoop-hdfs/src/main/conf/hadoop-metrics2.properties > {code} > Adding since am unsure: If this is an upstream bug that this config file isn't included, please do move it to the {{HADOOP}} project. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira