org.apache.flume.FlumeException: Unable to load source type: com.cloudera.flume.source.TwitterSource, class: com.cloudera.flume.source.TwitterSource at org.apache.flume.source.DefaultSourceFactory.getCl ass(DefaultSourceFactory.java:69) at org.apache.flume.source.DefaultSourceFactory.creat e(DefaultSourceFactory.java:42) at org.apache.flume.node.AbstractConfigurationProvide r.loadSources(AbstractConfigurationProvider.java:3 22) at org.apache.flume.node.AbstractConfigurationProvide r.getConfiguration(AbstractConfigurationProvider.j ava:97) at org.apache.flume.node.PollingPropertiesFileConfigu rationProvider$FileWatcherRunnable.run(PollingProp ertiesFileConfigurationProvider.java:140) at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(Future Task.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$301(ScheduledThreadPoolE xecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:294)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}

,
Expert tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Solutions on the web

via cloudera.com by Unknown author, 1 year ago
(AbstractConfigurationProvider.j ava:97) at org.apache.flume.node.PollingPropertiesFileConfigu rationProvider$FileWatcherRunnable.run(PollingProp ertiesFileConfigurationProvider.java:140) at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511) at
via cloudera.com by Unknown author, 1 year ago
(AbstractConfigurationProvider.j ava:97) at org.apache.flume.node.PollingPropertiesFileConfigu rationProvider$FileWatcherRunnable.run(PollingProp ertiesFileConfigurationProvider.java:140) at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511) at
java.lang.ClassNotFoundException: com.cloudera.flume.source.TwitterSource
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)

Users with the same issue

2 times, 2 days ago
2 times, 2 days ago
29 times, 2 days ago
Once, 3 days ago
Once, 3 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.