Blame view
templates/hadoop121/hadoop-metrics2.properties
1.29 KB
f795df3ae initial commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# syntax: [prefix].[source|sink|jmx].[instance].[options] # See package.html for org.apache.hadoop.metrics2 for details *.sink.file.class=org.apache.hadoop.metrics2.sink.FileSink #namenode.sink.file.filename=namenode-metrics.out #datanode.sink.file.filename=datanode-metrics.out #jobtracker.sink.file.filename=jobtracker-metrics.out #tasktracker.sink.file.filename=tasktracker-metrics.out #maptask.sink.file.filename=maptask-metrics.out #reducetask.sink.file.filename=reducetask-metrics.out # # Below are for sending metrics to Ganglia # # for Ganglia 3.0 support #*.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink30 # # for Ganglia 3.1 support #*.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31 #*.sink.ganglia.period=10 # default for supportsparse is false # *.sink.ganglia.supportsparse=true #*.sink.ganglia.slope=jvm.metrics.gcCount=zero,jvm.metrics.memHeapUsedM=both #*.sink.ganglia.dmax=jvm.metrics.threadsBlocked=70,jvm.metrics.memHeapUsedM=40 #namenode.sink.ganglia.servers=GMETADHOST_IP:8649 #datanode.sink.ganglia.servers=GMETADHOST_IP:8649 #jobtracker.sink.ganglia.servers=GMETADHOST_IP:8649 #tasktracker.sink.ganglia.servers=GMETADHOST_IP:8649 #maptask.sink.ganglia.servers=GMETADHOST_IP:8649 #reducetask.sink.ganglia.servers=GMETADHOST_IP:8649 |