You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Abbass Marouni (JIRA)" <ji...@apache.org> on 2016/05/04 12:08:12 UTC
[jira] [Updated] (FLUME-2907) Correct Flume NetCat Source agent
Example
[ https://issues.apache.org/jira/browse/FLUME-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abbass Marouni updated FLUME-2907:
----------------------------------
Description:
In NetCat Source agent Example (https://flume.apache.org/FlumeUserGuide.html#netcat-source) :
{code}a1.sources.r1.bind{code} is defined 2 times :
{code}
a1.sources = r1
a1.channels = c1
a1.sources.r1.type = netcat
a1.sources.r1.bind = 0.0.0.0
a1.sources.r1.bind = 6666
a1.sources.r1.channels = c1
{code}
This should be corrected to :
{code}
a1.sources = r1
a1.channels = c1
a1.sources.r1.type = netcat
a1.sources.r1.bind = 0.0.0.0
a1.sources.r1.port = 6666
a1.sources.r1.channels = c1
{code}
People might not pay attention when copying the configurations.
was:
a1.sources.r1.bind defined 2 times :
{code}
a1.sources = r1
a1.channels = c1
a1.sources.r1.type = netcat
a1.sources.r1.bind = 0.0.0.0
a1.sources.r1.bind = 6666
a1.sources.r1.channels = c1
{code}
Should be :
{code}
a1.sources = r1
a1.channels = c1
a1.sources.r1.type = netcat
a1.sources.r1.bind = 0.0.0.0
a1.sources.r1.port = 6666
a1.sources.r1.channels = c1
{code}
People might not pay attention when copying the configurations.
> Correct Flume NetCat Source agent Example
> -----------------------------------------
>
> Key: FLUME-2907
> URL: https://issues.apache.org/jira/browse/FLUME-2907
> Project: Flume
> Issue Type: Bug
> Reporter: Abbass Marouni
> Priority: Minor
>
> In NetCat Source agent Example (https://flume.apache.org/FlumeUserGuide.html#netcat-source) :
> {code}a1.sources.r1.bind{code} is defined 2 times :
> {code}
> a1.sources = r1
> a1.channels = c1
> a1.sources.r1.type = netcat
> a1.sources.r1.bind = 0.0.0.0
> a1.sources.r1.bind = 6666
> a1.sources.r1.channels = c1
> {code}
> This should be corrected to :
> {code}
> a1.sources = r1
> a1.channels = c1
> a1.sources.r1.type = netcat
> a1.sources.r1.bind = 0.0.0.0
> a1.sources.r1.port = 6666
> a1.sources.r1.channels = c1
> {code}
> People might not pay attention when copying the configurations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)