flume Permission denied: user=flume, access=WRITE, inode

时间:2022-01-24 18:41:38

My flume app is attempting to write to HDFS on a path thats not been created/granted for it.

The path is /tmp, create it manually and grant flume write access for it.

For example, if I want a /tmp path on HDFS, for user flume to write to:

sudo -u hdfs hadoop fs -mkdir /tmp

sudo -u hdfs hadoop fs -chown flume:flume /tmp 

And retry my flume app, and it should work.