[
https://issues.apache.org/jira/browse/FLUME-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446207#comment-13446207
]
Christopher Nagy commented on FLUME-1493:
-----------------------------------------
I had the same problem for a sink. In general, the errors in the config are not
being logged. I've modified a couple of files to fix this. Here is an example
of what it would log:
2012-08-31 13:49:27,449 WARN properties.PropertiesFileConfigurationProvider:
Error in configuration file '/etc/flume-ng/conf/flume.conf' : [avro-sink -
channel [ERROR] : PROPERTY_VALUE_NULL]
> Improve validation error message when source doesn't have any configured
> channels
> ---------------------------------------------------------------------------------
>
> Key: FLUME-1493
> URL: https://issues.apache.org/jira/browse/FLUME-1493
> Project: Flume
> Issue Type: Improvement
> Reporter: Mike Percy
> Priority: Minor
>
> The error message isn't very clear today when the source doesn't have a
> channel. Also, it should log as ERROR, not WARN
> This is the error I am getting due to lack of any channels on my source:
> 2012-08-17 04:14:53,035 (conf-file-poller-0) [WARN -
> org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.validateSources(FlumeConfiguration.java:571)]
> Removed src-0 due to Failed to configure component!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira