Created on 02-08-2015 07:55 PM - edited 09-16-2022 02:21 AM
I've just install Flume service on my cluster using Cloudera Manager, 2 of my agents is working but i got 1 agent bad health with bad health : The Cloudera Manager Agent is not able to communicate with this role's web server.
This is the error log:
org.apache.flume.node.PollingPropertiesFileConfigurationProvider : Failed to load configuration data. Exception follows.
org.apache.flume.FlumeException: Unable to load source type: com.cloudera.flume.source.TwitterSource, class: com.cloudera.flume.source.TwitterSource
Can someone help me with this, i'm new to Flume.
Regards,
Tu Nguyen
Created 02-09-2015 06:58 AM
It looks like you may be using an old Twitter Source which is now included standard in the apache flume distribution. You'll need to update your source class to reflect the new location:
If your original source looks like:
Created 02-09-2015 06:58 AM
It looks like you may be using an old Twitter Source which is now included standard in the apache flume distribution. You'll need to update your source class to reflect the new location:
If your original source looks like:
Created 06-28-2016 01:28 PM
I followed the suggestion and put the code in my flume.conf, it looks like:
TwitterAgent.sources.TwitterSource.type=org.apache.flume.source.twitter.TwitterSource #TwitterAgent.sources.Twitter.type = com.cloudera.flume.source.TwitterSource
It prompts that there is no type for sources.Twitter
I then modified it to:
TwitterAgent.sources.Twitter.type=org.apache.flume.source.twitter.TwitterSource #TwitterAgent.sources.Twitter.type = com.cloudera.flume.source.TwitterSource
no more complain for " no type for sources.Twitter" but the original error appears again:
How do I troubleshoot and fix this error?
Thanks.
Created 07-18-2018 09:09 AM
Created 08-31-2017 07:25 AM