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

Disable INFO logs from HadoopMetrics2Reporter for hive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 2.4.0
    • 2.4.0
    • 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 Config -> "Advanced hive-log4j", the following needs to be added.

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

      Attachments

        1. AMBARI-17886-4.patch
          7 kB
          Aravindan Vijayan
        2. AMBARI-17886-2.patch
          0.8 kB
          Aravindan Vijayan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: