Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Flume - Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty

avatar
Expert Contributor

I am trying to establish the connection between Twitter and My local Hdfs (vm).

I have installed all the required jars file and flume corresponding file and below are the steps which i followed. However i am getting error as Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty

1. Create application in twitter

2. Created flume.conf with the consumer secret keys and so on..

3. placed the appropriate jar file in the flume respective lib directory.

When run below command i am getting the error.

bin/flume-ng agent -n TwitterAgent -c conf -f conf /usr/lib/apache-flume-1.6.0-bin/conf/flume.conf

Any suggestion or help is appreciated.

1 ACCEPTED SOLUTION

avatar

Check if the FLUME_CLASSPATH is configured correctly. Seems its not set up. Alternativly check HDF solution which is simpler and easier ---> https://community.hortonworks.com/articles/1282/sample-hdfnifi-flow-to-push-tweets-into-solrbanana.h...

View solution in original post

1 REPLY 1

avatar

Check if the FLUME_CLASSPATH is configured correctly. Seems its not set up. Alternativly check HDF solution which is simpler and easier ---> https://community.hortonworks.com/articles/1282/sample-hdfnifi-flow-to-push-tweets-into-solrbanana.h...