Home > other >  The flume: running. The conf file error: No configuration found for this host: $
The flume: running. The conf file error: No configuration found for this host: $

Time:09-26

I just contact the flume, and the problems at run time, hope to have a great god can help take a look at:


. The conf file code is as follows: (to monitor/root/data/data. The log entry in the log)
 [code]=CSS configration file: 

A1. Sources=r1
A1. Sinks=k1
A1. Channels=c1

# the Describe/configure the source
A1. Sources. R1. Type=exec
A1.sources.r1.com mand=tail -f/root/data/data. The log
A1. Sources. R1. Shell=/bin/sh -c


# the Describe the sink
A1. Sinks. K1. Type=logger

# Use a channel which buffers the events in the memory
A1. Channels. C1. Type=memory


# Bind the source and sink to the channel
A1. Sources. R1. Channels=c1
A1. Sinks. K1. Channel=c1

[/code]
Error:
 03:13:34 2020-03-01, 655 (the conf - file - the poller - 0) [WARN - org. Apache. The flume. Node. AbstractConfigurationProvider. GetConfiguration (AbstractConfigurationProvider. Java: 138)] No configuration found for this host: $



Log:
 
The 2020-03-01 03:13:34, 385 (lifecycleSupervisor - 1-0) [INFO - org. Apache. The flume. Node. PollingPropertiesFileConfigurationProvider. Start (PollingPropertiesFileConfigurationProvider. Java: 61)] Configuration provider starting
The 03:13:34 2020-03-01, 424 (the conf file - the poller - 0) [INFO - org. Apache. The flume. Node. PollingPropertiesFileConfigurationProvider $FileWatcherRunnable. Run (PollingPropertiesFileConfigurationProvider. Java: 133)] Reloading the configuration file:/usr/HDP/current/flume - server/conf/exec - the memory - logger. Conf
The 03:13:34 2020-03-01, 554 (the conf file - the poller - 0) [INFO - org. Apache. The flume. Conf. FlumeConfiguration $AgentConfiguration. AddProperty (FlumeConfiguration. Java: 933)] Added sinks: k1 Agent: a1
The 03:13:34 2020-03-01, 554 (the conf file - the poller - 0) [INFO - org. Apache. The flume. Conf. FlumeConfiguration $AgentConfiguration. AddProperty (FlumeConfiguration. Java: 1019)] Processing: k1
The 03:13:34 2020-03-01, 554 (the conf file - the poller - 0) [INFO - org. Apache. The flume. Conf. FlumeConfiguration $AgentConfiguration. AddProperty (FlumeConfiguration. Java: 1019)] Processing: k1
The 03:13:34 2020-03-01, 633 (the conf file - the poller - 0) [INFO - org. Apache. The flume. Conf. FlumeConfiguration. ValidateConfiguration (FlumeConfiguration. Java: 140)] Post - validation flume configuration contains the configuration for agents: [a1]
The 03:13:34 2020-03-01, 655 (the conf file - the poller - 0) [WARN - org. Apache. The flume. Node. AbstractConfigurationProvider. GetConfiguration (AbstractConfigurationProvider. Java: 138)] No configuration found for this host: $


CodePudding user response:

Look at the command executed
  • Related