metics v1 in hadoop-2.0.5
Can I use metrics v1 in hadoop-2.0.5? Thanks, LiuLei
Re: metics v1 in hadoop-2.0.5
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 lei liu > Can I use metrics v1 in hadoop-2.0.5? > > Thanks, > > LiuLei >
Re: metics v1 in hadoop-2.0.5
Yes. The daemons all use metrics-v2 in Apache Hadoop 2.x. On Mon, Aug 5, 2013 at 3:56 PM, lei liu 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 > 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 lei liu >> >> Can I use metrics v1 in hadoop-2.0.5? >> >> Thanks, >> >> LiuLei > > -- Harsh J
Re: metics v1 in hadoop-2.0.5
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 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 > 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 lei liu > >> Can I use metrics v1 in hadoop-2.0.5? >> >> Thanks, >> >> LiuLei >> > >