[ 
https://issues.apache.org/jira/browse/AMBARI-17886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aravindan Vijayan updated AMBARI-17886:
---------------------------------------
    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 Config -> "Advanced hive-log4j", the following needs to be added.

{noformat}
# Silence HadoopMetrics2Reporter INFO logs
log4j.logger.com.github.joshelser.dropwizard.metrics.hadoop=WARN,DRFA
{noformat}


  was:
With BUG-62409, we were hitting issues wherein we're running out of disk space 
due to the sheer amount of logs being produced by hive after addition of 
metrics. For this, we need to make a single change to the log4j properties 
offered by Ambari to fix this.

In Hive Config -> "Advanced hive-log4j", could we please add an additional bit 
at the end:

{noformat}
# Silence HadoopMetrics2Reporter INFO logs
log4j.logger.com.github.joshelser.dropwizard.metrics.hadoop=WARN,DRFA
{noformat}



> Disable INFO logs from HadoopMetrics2Reporter for hive
> ------------------------------------------------------
>
>                 Key: AMBARI-17886
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17886
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17886.patch
>
>
> 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.
> {noformat}
> # Silence HadoopMetrics2Reporter INFO logs
> log4j.logger.com.github.joshelser.dropwizard.metrics.hadoop=WARN,DRFA
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to