Flume error TwitterSource


14 Answer(s)


Hi Jagdeep,

Its seems issue with jar file. Please recreate the jar file again.

If you still get the issue again. Please share the flume.conf with me.

Hope this helps.

Thanks.


Hi,

I did create the jar file but it gave me same error.Here is the conf file as attached.Please let me know,when you get a chance.

Thanks!!



Hi Jagdeep,

I am looking into it, please give me some time to fix this.

Thanks.


Hi Jagdeep,

I tried the code in 2-3 system, it is working fine. I guess you have issue with flume not with flume.conf.

Try this:

1. Delete the flume.

2. Download the new flume setup.

3. Provide the new path in the flume.conf to store the tweets

4. Use the same flume.conf to fetch tweets.

Hope this helps.

Thanks.


Hi Abhijit,

I tried to delete the flume but it is not letting me delete the flume.Please guide.

Thanks!!


Hi Jagdeep,

Use the following command to delete the flume folder:

$ sudo rm -r path_of_flume_folder

ex. - $ sudo rm -r /home/hadoop/flume

Hope this helps.

Thanks.


Hi Abhijit,

I already delete the folder and reinstall flume and now I get diffrerent error as below.I am confused now.

cloudera@localhost /]$ flume-ng agent-n  TwitterAgent -c conf -f /usr/lib/flume-ng/apache-flume-1.7.0-bin/conf/flume.conf
/usr/bin/flume-ng: line 10: /usr/lib/flume-ng/bin/flume-ng: No such file or directory
/usr/bin/flume-ng: line 10: exec: /usr/lib/flume-ng/bin/flume-ng: cannot execute: No such file or directory
[cloudera@localhost /]$ flume-ng agent -n  TwitterAgent -c conf -f /usr/lib/flume-ng/apache-flume-1.7.0-bin/conf/flume.conf
/usr/bin/flume-ng: line 10: /usr/lib/flume-ng/bin/flume-ng: No such file or directory
/usr/bin/flume-ng: line 10: exec: /usr/lib/flume-ng/bin/flume-ng: cannot execute: No such file or directory
[cloudera@localhost /]$ 
 


Hi Jagdeep,

It seems, it is not able to find flume-ng maybe because of file permission.

To solve this, copy the flume folder in /home/cloudera/ and it has all the permission required to execute the file.

Thanks.


Hi Abhijit,

I checked the folder permission,it has all the permission to execute.


I did copied the file to /home/cloudera ,it still same error.The instrcution on LMS are not great to follow.

cloudera@localhost ~]$ flume-ng agent-n TWitterAgent -c conf -f flume.conf/usr/bin/flume-ng: line 10: /usr/lib/flume-ng/bin/flume-ng: No such file or directory
/usr/bin/flume-ng: line 10: exec: /usr/lib/flume-ng/bin/flume-ng: cannot execute: No such file or directory
[cloudera@localhost ~]$ 


Hi Abhijit,

The flume is not starting from cludera manager,I tried does not work


Hi Jagdeep,

I found the error, /usr/lib/flume-ng/bin/flume-ng: cannot execute: No such file or directory found.

Please confirm you have install the flume successfully by:

$ sudo yum install flume-ng

Please try again, or please come on support chat and provide your contact detail on which I can reach you.

Thanks.


Issue has been resolved by Abhijit.He  was very proffessional and very helpful and solved my issue.

Very nice work by him.

Thanks!!

Jagdeep Singh


Thank you Jagdeep for appreciation.