hadoop-metrics.properties 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Configuration of the "dfs" context for null
  2. dfs.class=org.apache.hadoop.metrics.spi.NullContext
  3. # Configuration of the "dfs" context for file
  4. #dfs.class=org.apache.hadoop.metrics.file.FileContext
  5. #dfs.period=10
  6. #dfs.fileName=/tmp/dfsmetrics.log
  7. # Configuration of the "dfs" context for ganglia
  8. # dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext
  9. # dfs.period=10
  10. # dfs.servers=localhost:8649
  11. # Configuration of the "mapred" context for null
  12. mapred.class=org.apache.hadoop.metrics.spi.NullContext
  13. # Configuration of the "mapred" context for file
  14. #mapred.class=org.apache.hadoop.metrics.file.FileContext
  15. #mapred.period=10
  16. #mapred.fileName=/tmp/mrmetrics.log
  17. # Configuration of the "mapred" context for ganglia
  18. # mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext
  19. # mapred.period=10
  20. # mapred.servers=localhost:8649
  21. # Configuration of the "jvm" context for null
  22. jvm.class=org.apache.hadoop.metrics.spi.NullContext
  23. # Configuration of the "jvm" context for file
  24. #jvm.class=org.apache.hadoop.metrics.file.FileContext
  25. #jvm.period=10
  26. #jvm.fileName=/tmp/jvmmetrics.log
  27. # Configuration of the "jvm" context for ganglia
  28. # jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext
  29. # jvm.period=10
  30. # jvm.servers=localhost:8649