云计算课程实验
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

68 rader
2.5 KiB

  1. # syntax: [prefix].[source|sink].[instance].[options]
  2. # See javadoc of package-info.java for org.apache.hadoop.metrics2 for details
  3. *.sink.file.class=org.apache.hadoop.metrics2.sink.FileSink
  4. # default sampling period, in seconds
  5. *.period=10
  6. # The namenode-metrics.out will contain metrics from all context
  7. #namenode.sink.file.filename=namenode-metrics.out
  8. # Specifying a special sampling period for namenode:
  9. #namenode.sink.*.period=8
  10. #datanode.sink.file.filename=datanode-metrics.out
  11. #resourcemanager.sink.file.filename=resourcemanager-metrics.out
  12. #nodemanager.sink.file.filename=nodemanager-metrics.out
  13. #mrappmaster.sink.file.filename=mrappmaster-metrics.out
  14. #jobhistoryserver.sink.file.filename=jobhistoryserver-metrics.out
  15. # the following example split metrics of different
  16. # context to different sinks (in this case files)
  17. #nodemanager.sink.file_jvm.class=org.apache.hadoop.metrics2.sink.FileSink
  18. #nodemanager.sink.file_jvm.context=jvm
  19. #nodemanager.sink.file_jvm.filename=nodemanager-jvm-metrics.out
  20. #nodemanager.sink.file_mapred.class=org.apache.hadoop.metrics2.sink.FileSink
  21. #nodemanager.sink.file_mapred.context=mapred
  22. #nodemanager.sink.file_mapred.filename=nodemanager-mapred-metrics.out
  23. #
  24. # Below are for sending metrics to Ganglia
  25. #
  26. # for Ganglia 3.0 support
  27. # *.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink30
  28. #
  29. # for Ganglia 3.1 support
  30. # *.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
  31. # *.sink.ganglia.period=10
  32. # default for supportsparse is false
  33. # *.sink.ganglia.supportsparse=true
  34. #*.sink.ganglia.slope=jvm.metrics.gcCount=zero,jvm.metrics.memHeapUsedM=both
  35. #*.sink.ganglia.dmax=jvm.metrics.threadsBlocked=70,jvm.metrics.memHeapUsedM=40
  36. # Tag values to use for the ganglia prefix. If not defined no tags are used.
  37. # If '*' all tags are used. If specifiying multiple tags separate them with
  38. # commas. Note that the last segment of the property name is the context name.
  39. #
  40. #*.sink.ganglia.tagsForPrefix.jvm=ProcesName
  41. #*.sink.ganglia.tagsForPrefix.dfs=
  42. #*.sink.ganglia.tagsForPrefix.rpc=
  43. #*.sink.ganglia.tagsForPrefix.mapred=
  44. #namenode.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649
  45. #datanode.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649
  46. #resourcemanager.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649
  47. #nodemanager.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649
  48. #mrappmaster.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649
  49. #jobhistoryserver.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649