You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by lei liu <li...@gmail.com> on 2013/08/05 07:49:05 UTC
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
Posted by Binglin Chang <de...@gmail.com>.
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 <li...@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
> 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 <li...@gmail.com>
>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>>
>
>
Re: metics v1 in hadoop-2.0.5
Posted by Harsh J <ha...@cloudera.com>.
Yes. The daemons all use metrics-v2 in Apache Hadoop 2.x.
On Mon, Aug 5, 2013 at 3:56 PM, lei liu <li...@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
> 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 <li...@gmail.com>
>>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>
>
--
Harsh J
Re: metics v1 in hadoop-2.0.5
Posted by Binglin Chang <de...@gmail.com>.
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 <li...@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
> 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 <li...@gmail.com>
>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>>
>
>
Re: metics v1 in hadoop-2.0.5
Posted by Binglin Chang <de...@gmail.com>.
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 <li...@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
> 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 <li...@gmail.com>
>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>>
>
>
Re: metics v1 in hadoop-2.0.5
Posted by Harsh J <ha...@cloudera.com>.
Yes. The daemons all use metrics-v2 in Apache Hadoop 2.x.
On Mon, Aug 5, 2013 at 3:56 PM, lei liu <li...@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
> 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 <li...@gmail.com>
>>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>
>
--
Harsh J
Re: metics v1 in hadoop-2.0.5
Posted by Harsh J <ha...@cloudera.com>.
Yes. The daemons all use metrics-v2 in Apache Hadoop 2.x.
On Mon, Aug 5, 2013 at 3:56 PM, lei liu <li...@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
> 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 <li...@gmail.com>
>>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>
>
--
Harsh J
Re: metics v1 in hadoop-2.0.5
Posted by Harsh J <ha...@cloudera.com>.
Yes. The daemons all use metrics-v2 in Apache Hadoop 2.x.
On Mon, Aug 5, 2013 at 3:56 PM, lei liu <li...@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
> 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 <li...@gmail.com>
>>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>
>
--
Harsh J
Re: metics v1 in hadoop-2.0.5
Posted by Binglin Chang <de...@gmail.com>.
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 <li...@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
> 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 <li...@gmail.com>
>
>> Can I use metrics v1 in hadoop-2.0.5?
>>
>> Thanks,
>>
>> LiuLei
>>
>
>
Re: metics v1 in hadoop-2.0.5
Posted by lei liu <li...@gmail.com>.
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 <li...@gmail.com>
> Can I use metrics v1 in hadoop-2.0.5?
>
> Thanks,
>
> LiuLei
>
Re: metics v1 in hadoop-2.0.5
Posted by lei liu <li...@gmail.com>.
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 <li...@gmail.com>
> Can I use metrics v1 in hadoop-2.0.5?
>
> Thanks,
>
> LiuLei
>
Re: metics v1 in hadoop-2.0.5
Posted by lei liu <li...@gmail.com>.
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 <li...@gmail.com>
> Can I use metrics v1 in hadoop-2.0.5?
>
> Thanks,
>
> LiuLei
>
Re: metics v1 in hadoop-2.0.5
Posted by lei liu <li...@gmail.com>.
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 <li...@gmail.com>
> Can I use metrics v1 in hadoop-2.0.5?
>
> Thanks,
>
> LiuLei
>