Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-17949

Disable INFO logs from HadoopMetrics2Reporter for hive on upgrade to 2.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Won't Fix
    • 2.4.0
    • None
    • None
    • None

    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.

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

      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.

      Attachments

        1. AMBARI-17949.patch
          13 kB
          Aravindan Vijayan

        Issue Links

          Activity

            People

              avijayan Aravindan Vijayan
              avijayan Aravindan Vijayan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: