Re: metics v1 in hadoop-2.0.5

2013-08-05 Thread lei liu
There is hadoop-metrics.properties file in etc/hadoop directory. I config the file with below content: dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 dfs.period=10 dfs.servers=dw74:8649 But the configuration does not work. Do I only use metrics v2 in hadoop-2.0.5? 2013/8/5

Re: metics v1 in hadoop-2.0.5

2013-08-05 Thread Harsh J
Yes. The daemons all use metrics-v2 in Apache Hadoop 2.x. On Mon, Aug 5, 2013 at 3:56 PM, lei liu liulei...@gmail.com wrote: There is hadoop-metrics.properties file in etc/hadoop directory. I config the file with below content: dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext31

Re: metics v1 in hadoop-2.0.5

2013-08-05 Thread Binglin Chang
metrics v1 is deprecated, both in 1.2 and 2.x. the existence of hadoop-metrics.properties is confusing, I think it should be removed. On Mon, Aug 5, 2013 at 6:26 PM, lei liu liulei...@gmail.com wrote: There is hadoop-metrics.properties file in etc/hadoop directory. I config the file with

metics v1 in hadoop-2.0.5

2013-08-04 Thread lei liu
Can I use metrics v1 in hadoop-2.0.5? Thanks, LiuLei