hadoop-metrics2-accumulo.properties.j2 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. # Poll collectors every {{metrics_report_interval}} seconds
  16. *.period={{metrics_collection_period}}
  17. {% if has_metric_collector %}
  18. *.timeline.plugin.urls=file:///usr/lib/ambari-metrics-hadoop-sink/ambari-metrics-hadoop-sink.jar
  19. *.sink.timeline.slave.host.name={{hostname}}
  20. accumulo.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink
  21. accumulo.period={{metrics_collection_period}}
  22. accumulo.collector={{metric_collector_host}}:{{metric_collector_port}}
  23. jvm.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink
  24. jvm.period={{metrics_collection_period}}
  25. jvm.collector={{metric_collector_host}}:{{metric_collector_port}}
  26. rpc.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink
  27. rpc.period={{metrics_collection_period}}
  28. rpc.collector={{metric_collector_host}}:{{metric_collector_port}}
  29. accumulo.sink.timeline.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink
  30. accumulo.sink.timeline.period={{metrics_collection_period}}
  31. accumulo.sink.timeline.sendInterval={{metrics_report_interval}}000
  32. accumulo.sink.timeline.collector={{metric_collector_host}}:{{metric_collector_port}}
  33. # HTTPS properties
  34. accumulo.sink.timeline.truststore.path = {{metric_truststore_path}}
  35. accumulo.sink.timeline.truststore.type = {{metric_truststore_type}}
  36. accumulo.sink.timeline.truststore.password = {{metric_truststore_password}}
  37. {% else %}
  38. accumulo.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
  39. accumulo.sink.ganglia.period=10
  40. accumulo.sink.ganglia.servers={{ganglia_server_host}}:8666
  41. {% endif %}