Running Project Twitter Demo - Permission denied on starting the flume-agent



0

On executing the commnad "flume-ng agent -n TwitterAgent -f flume-twitter-partioned.conf" in step 5 of the  Twitter Demo project, I am presented with following error:

Permission denied: user=root, access=WRITE, inode="/user/cloudera/twitter":cloudera:cloudera:drwxr-xr-x


My  setting in the "conf" file is: TwitterAgent.sinks.HDFS.hdfs.path = /user/cloudera/twitter/%Y/%m/%d/%H/

A quick response would be much appreciated.

Regards, Sri

 

 

 


1 Answer(s)


0

Hi Sridhar,

Please change the path from /user/cloudera/twitter to /user/hduser/twitter. Please make sure other students have not created the twitter folder by using command: $hadoop fs -ls /user/hduser
 

Please let me know if you have any other questions.

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)

Email
Password