[ https://issues.apache.org/jira/browse/HADOOP-6808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HADOOP-6808. -------------------------------------- Resolution: Fixed > Document steps to enable {File|Ganglia}Context for kerberos metrics > ------------------------------------------------------------------- > > Key: HADOOP-6808 > URL: https://issues.apache.org/jira/browse/HADOOP-6808 > Project: Hadoop Common > Issue Type: Bug > Components: conf > Affects Versions: 0.20.2, 0.22.0 > Reporter: Erik Steffl > Priority: Trivial > Attachments: HADOOP-6808-0.20.1xx.patch > > > 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: > # Configuration of the "ugi" context for file > #ugi.class=org.apache.hadoop.metrics.file.FileContext > #ugi.period=10 > #ugi.fileName=/tmp/ugimetrics.log > # Configuration of the "ugi" context for ganglia > # ugi.class=org.apache.hadoop.metrics.ganglia.GangliaContext > # ugi.period=10 > # ugi.servers=localhost:8649 -- This message was sent by Atlassian JIRA (v6.2#6252)