| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| # Configuration of the "dfs" context for null |
| dfs.class=org.apache.hadoop.metrics.spi.NullContext |
| |
| # Configuration of the "dfs" context for file |
| #dfs.class=org.apache.hadoop.metrics.file.FileContext |
| #dfs.period=10 |
| #dfs.fileName=/tmp/dfsmetrics.log |
| |
| # Configuration of the "dfs" context for ganglia |
| # Pick one: Ganglia 3.0 (former) or Ganglia 3.1 (latter) |
| # dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext |
| # dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 |
| # dfs.period=10 |
| # dfs.servers=localhost:8649 |
| |
| |
| # Configuration of the "mapred" context for null |
| mapred.class=org.apache.hadoop.metrics.spi.NullContext |
| |
| # Configuration of the "mapred" context for file |
| #mapred.class=org.apache.hadoop.metrics.file.FileContext |
| #mapred.period=10 |
| #mapred.fileName=/tmp/mrmetrics.log |
| |
| # Configuration of the "mapred" context for ganglia |
| # Pick one: Ganglia 3.0 (former) or Ganglia 3.1 (latter) |
| # mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext |
| # mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 |
| # mapred.period=10 |
| # mapred.servers=localhost:8649 |
| |
| |
| # Configuration of the "jvm" context for null |
| #jvm.class=org.apache.hadoop.metrics.spi.NullContext |
| |
| # Configuration of the "jvm" context for file |
| #jvm.class=org.apache.hadoop.metrics.file.FileContext |
| #jvm.period=10 |
| #jvm.fileName=/tmp/jvmmetrics.log |
| |
| # Configuration of the "jvm" context for ganglia |
| # jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext |
| # jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 |
| # jvm.period=10 |
| # jvm.servers=localhost:8649 |
| |
| # Configuration of the "rpc" context for null |
| rpc.class=org.apache.hadoop.metrics.spi.NullContext |
| |
| # Configuration of the "rpc" context for file |
| #rpc.class=org.apache.hadoop.metrics.file.FileContext |
| #rpc.period=10 |
| #rpc.fileName=/tmp/rpcmetrics.log |
| |
| # Configuration of the "rpc" context for ganglia |
| # rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext |
| # rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 |
| # rpc.period=10 |
| # rpc.servers=localhost:8649 |
| |
| |
| # Configuration of the "ugi" context for null |
| ugi.class=org.apache.hadoop.metrics.spi.NullContext |
| |
| # 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.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 |
| # ugi.period=10 |
| # ugi.servers=localhost:8649 |
| |