hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akmal Abbasov <akmal.abba...@icloud.com>
Subject Re: Filtering hadoop metrics
Date Tue, 21 Apr 2015 17:49:40 GMT
Hi Ted,
I’ve tried [Ugi]*Metrics[System]*,
and in this case the output contains both of them.
Thank you.

> On 21 Apr 2015, at 19:39, Akmal Abbasov <akmal.abbasov@icloud.com> wrote:
> 
> Hi Ted,
> I am using hadoop-2.5.1
> Thank you.
> 
>> On 21 Apr 2015, at 19:32, Ted Yu <yuzhihong@gmail.com <mailto:yuzhihong@gmail.com>>
wrote:
>> 
>> What release of hadoop are you using ?
>> 
>> Maybe try regex such as:
>> [Ugi]*Metrics[System]*
>> 
>> Cheers
>> 
>> On Tue, Apr 21, 2015 at 9:43 AM, Akmal Abbasov <akmal.abbasov@icloud.com <mailto:akmal.abbasov@icloud.com>>
wrote:
>> Hi, I am now working on hadoop cluster monitoring, and currently playing with hadoop-metrics2.properties
file. I would like to use filters to exclude the records which I am not going to use.
>> In fact I am trying to exclude “UgiMetrics” and “MetricsSystem” records,
by using the following
>> datanode.sink.file.record.filter.exclude=UgiMetrics
>> datanode.sink.file.record.filter.exclude=MetricsSystem
>> 
>> But the problem, is that since I am using the same key for different values, only
the first one is excluded. I’ve tried to use something like
>> 1. datanode.sink.file.record.filter.exclude= UgiMetrics, MetricsSystem
>> 2. datanode.sink.file.record.filter.exclude= UgiMetrics | MetricsSystem
>> but, in both cases I got the same result, only UgiMetrics are excluded.
>> 
>> Is there any way to exclude arbitrary number of records?
>> Thank you.
>> 
> 


Mime
View raw message