Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6808

Document steps to enable {File|Ganglia}Context for kerberos metrics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.20.2, 0.22.0
    • None
    • conf
    • None

    Description

      There was apatch adding kerberos metrics which included the following line in conf/hadoop-metrics.properties:

      ugi.class=org.apache.hadoop.metrics.spi.NullContext

      However to maintain consistency with dfs,jvm and mapred metrics and for documentation purpose we should include comments in the file to include steps to enable FileContext and GangliaContext as well. The following lines have to be included in conf/hadoop-metrics.properties:

      1. Configuration of the "ugi" context for file
        #ugi.class=org.apache.hadoop.metrics.file.FileContext
        #ugi.period=10
        #ugi.fileName=/tmp/ugimetrics.log
      1. Configuration of the "ugi" context for ganglia
      2. ugi.class=org.apache.hadoop.metrics.ganglia.GangliaContext
      3. ugi.period=10
      4. ugi.servers=localhost:8649

      Attachments

        1. HADOOP-6808-0.20.1xx.patch
          0.6 kB
          Erik Steffl

        Activity

          People

            Unassigned Unassigned
            zasran Erik Steffl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: