Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CC621200B54 for ; Thu, 28 Jul 2016 23:15:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CB171160A56; Thu, 28 Jul 2016 21:15:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 296BA160AAA for ; Thu, 28 Jul 2016 23:15:22 +0200 (CEST) Received: (qmail 5552 invoked by uid 500); 28 Jul 2016 21:15:20 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 5451 invoked by uid 99); 28 Jul 2016 21:15:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2016 21:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AAEE42C0D5F for ; Thu, 28 Jul 2016 21:15:20 +0000 (UTC) Date: Thu, 28 Jul 2016 21:15:20 +0000 (UTC) From: "Aravindan Vijayan (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17949) Disable INFO logs from HadoopMetrics2Reporter for hive on upgrade to 2.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 28 Jul 2016 21:15:23 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aravindan Vijayan updated AMBARI-17949: --------------------------------------- Description: Out of disk space issues are seen due to the sheer amount of logs being produced by hive after addition of metrics. For this, a single change needs to be done to the log4j properties offered by Ambari to fix this. In hive-log4j content, the following needs to be added. {noformat} # Silence HadoopMetrics2Reporter INFO logs log4j.logger.com.github.joshelser.dropwizard.metrics.hadoop=WARN,DRFA {noformat} This upgrade jira is only for adding the log level changes for Hive components part of HDP 2.4 stack. Hive components that have been added in HDP2.5 fall into the category of either not needing this change or using default from stack. was: Out of disk space issues are seen due to the sheer amount of logs being produced by hive after addition of metrics. For this, a single change needs to be done to the log4j properties offered by Ambari to fix this. In Hive Config -> "Advanced hive-log4j", the following needs to be added. # Silence HadoopMetrics2Reporter INFO logs log4j.logger.com.github.joshelser.dropwizard.metrics.hadoop=WARN,DRFA -# Silence HadoopMetrics2Reporter INFO logs log4j.logger.com.github.joshelser.dropwizard.metrics.hadoop=WARN,DRFA {noformat} FYI, this upgrade jira is only for adding the log level changes for Hive components part of HDP 2.4 stack. Hive components that have been added in HDP2.5 fall into the category of either not needing this change or using default from stack. > Disable INFO logs from HadoopMetrics2Reporter for hive on upgrade to 2.5 > ------------------------------------------------------------------------ > > Key: AMBARI-17949 > URL: https://issues.apache.org/jira/browse/AMBARI-17949 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.4.0 > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Blocker > Fix For: 2.4.0 > > > Out of disk space issues are seen due to the sheer amount of logs being produced by hive after addition of metrics. For this, a single change needs to be done to the log4j properties offered by Ambari to fix this. > In hive-log4j content, the following needs to be added. > {noformat} > # Silence HadoopMetrics2Reporter INFO logs > log4j.logger.com.github.joshelser.dropwizard.metrics.hadoop=WARN,DRFA > {noformat} > This upgrade jira is only for adding the log level changes for Hive components part of HDP 2.4 stack. Hive components that have been added in HDP2.5 fall into the category of either not needing this change or using default from stack. -- This message was sent by Atlassian JIRA (v6.3.4#6332)