ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangjianfei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-19452) Metrics of flume shows same values for all channels,sinks or sources in host
Date Thu, 09 Feb 2017 04:50:41 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-19452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

wangjianfei updated AMBARI-19452:
---------------------------------
    Description: 
    When configuring multiply Channels-Sinks-Sources in flume,the flume metric of hosts always
shows the same metric for all the Channels.
    Take Channel for example,actually,if configure Channel.ch1 and Channel.ch2,when retrive
metrics of both ch1 and ch2 of the host,it returns the same metric values(values of last metric)
for both ch1 and ch2。
    The configuration is as follows:
{noformat}
a1.sources = r1
a1.sinks = k1 k2
a1.channels = ch1 ch2

# Describe/configure the source
a1.sources.r1.type = syslogtcp
a1.sources.r1.port = 5140
a1.sources.r1.host = 0.0.0.0
a1.sources.r1.channels = ch1 ch2
a1.sources.r1.selector.type = replicating

# Describe the sink
a1.sinks.k1.type = avro
a1.sinks.k1.channel = ch1
a1.sinks.k1.hostname = 0.0.0.0
a1.sinks.k1.port = 5555
a1.sinks.k2.type = avro
a1.sinks.k2.channel = ch2
a1.sinks.k2.hostname = 0.0.0.0
a1.sinks.k2.port = 5555

#Use a channel which buffers events in memory
a1.channels.ch1.type = memory
a1.channels.ch1.capacity = 1000
a1.channels.ch1.transactionCapacity = 100
a1.channels.ch2.type = memory
a1.channels.ch2.capacity = 1000
a1.channels.ch2.transactionCapacity = 100
{noformat}

  was:
    When configuring multiply Channels-Sinks-Sources in flume,the flume metric of hosts always
shows the same metric for all the Channels.
    Take Channel for example,actually,if configure Channel.ch1 and Channel.ch2,when retrive
metrics of both ch1 and ch2 of the host,it returns the same metric values(values of last metric)
for both ch1 and ch2。


> Metrics of flume shows same values for all channels,sinks or sources in host
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-19452
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19452
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: wangjianfei
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19452.patch, Error.png
>
>
>     When configuring multiply Channels-Sinks-Sources in flume,the flume metric of hosts
always shows the same metric for all the Channels.
>     Take Channel for example,actually,if configure Channel.ch1 and Channel.ch2,when retrive
metrics of both ch1 and ch2 of the host,it returns the same metric values(values of last metric)
for both ch1 and ch2。
>     The configuration is as follows:
> {noformat}
> a1.sources = r1
> a1.sinks = k1 k2
> a1.channels = ch1 ch2
> # Describe/configure the source
> a1.sources.r1.type = syslogtcp
> a1.sources.r1.port = 5140
> a1.sources.r1.host = 0.0.0.0
> a1.sources.r1.channels = ch1 ch2
> a1.sources.r1.selector.type = replicating
> # Describe the sink
> a1.sinks.k1.type = avro
> a1.sinks.k1.channel = ch1
> a1.sinks.k1.hostname = 0.0.0.0
> a1.sinks.k1.port = 5555
> a1.sinks.k2.type = avro
> a1.sinks.k2.channel = ch2
> a1.sinks.k2.hostname = 0.0.0.0
> a1.sinks.k2.port = 5555
> #Use a channel which buffers events in memory
> a1.channels.ch1.type = memory
> a1.channels.ch1.capacity = 1000
> a1.channels.ch1.transactionCapacity = 100
> a1.channels.ch2.type = memory
> a1.channels.ch2.capacity = 1000
> a1.channels.ch2.transactionCapacity = 100
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message