Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Flume - file channel CheckpointDir could not be created

Highlighted

Flume - file channel CheckpointDir could not be created

Expert Contributor

I've configured flume to use File channel like this:


f1.channels.ch-file-default.type = file
f1.channels.ch-file-default.checkpointDir = /var/log/flume/checkpoint/f1
f1.channels.ch-file-default.dataDirs = /var/log/flume/data/f1

 

But I'm running into permissions issue and Flume throws these exception:

 

 Due to java.lang.IllegalArgumentException: CheckpointDir /var/log/flume/checkpoint/f1 could not be created

 

How do I go about updating the flume user account write permissions using CM? 

 

Thanks!