[ 
https://issues.apache.org/jira/browse/FLUME-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14164683#comment-14164683
 ] 

Hari Shreedharan commented on FLUME-2466:
-----------------------------------------

Correct, but being a command line argument, you can't have an agent with a 
space in the name (the shell will pass only the one before the space as the 
argument to the parameter). But in Embedded Agent, since the agent name is not 
explicitly specified in the channel/source/sink configs, the agent dies with an 
exception which does not even look related.

> Embedded agent name cannot contain spaces
> -----------------------------------------
>
>                 Key: FLUME-2466
>                 URL: https://issues.apache.org/jira/browse/FLUME-2466
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>            Assignee: Johny Rufus
>         Attachments: FLUME-2466.patch
>
>
> Here is a test that can be used to reproduce this: 
> https://github.com/harishreedharan/usingflumecode/blob/master/ch07/src/test/java/usingflume/ch07/TestUsingFlumeEmbeddedAgent.java
> This test passes as is, but fails if we insert a space in the name of the 
> agent defined in the class shown here:
> https://github.com/harishreedharan/usingflumecode/blob/master/ch07/src/main/java/usingflume/ch07/UsingFlumeEmbeddedAgent.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to