Hadoop Common
  1. Hadoop Common
  2. HADOOP-6808

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 0.22.0
    • Fix Version/s: None
    • Component/s: conf
    • Labels:
      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

        Activity

        Erik Steffl created issue -
        Erik Steffl made changes -
        Field Original Value New Value
        Attachment HADOOP-6808-0.20.1xx.patch [ 12446296 ]
        Hide
        Erik Steffl added a comment -

        This depends on https://issues.apache.org/jira/browse/HADOOP-6693 for which there is no trunk patch, therefore this jira only has 0.20 patch at the moment.

        Show
        Erik Steffl added a comment - This depends on https://issues.apache.org/jira/browse/HADOOP-6693 for which there is no trunk patch, therefore this jira only has 0.20 patch at the moment.
        Nigel Daley made changes -
        Fix Version/s 0.22.0 [ 12314296 ]
        Fix Version/s 0.20.3 [ 12314812 ]
        Allen Wittenauer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1517d 22h 10m 1 Allen Wittenauer 30/Jul/14 21:07

          People

          • Assignee:
            Unassigned
            Reporter:
            Erik Steffl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development