Support Questions

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

Filled up cm_processes

avatar
Explorer

Hi there, I set up flume for the first time and per an example, put ~/.flume/file-channel/checkpoint for the checkpointDir parameter.

 

Well, it filled up the /var/run/cloudera-scm-agent/process tempfs.

 

[root@node08 process]# du -sh *flume*
3.8G 1004-flume-AGENT
3.8G 1009-flume-AGENT
3.8G 1021-flume-AGENT
4.9G 1022-flume-AGENT
3.8G 1031-flume-AGENT

etc..

 

Question for you. I've since fixed this and what would be the easiest way to delete these files? Just delete them or will they be removed after a reboot of the node?

 

Thanks,

Eric

1 ACCEPTED SOLUTION

avatar
You are right about the reboot of the node. /var/run is a tmpfs and all
content is deleted on reboot. The other option is to restart the CM agent
with clean_restart.

# service cloudera-scm-agent clean_restart

Note that either way, all CDH roles on the node will be restarted.

Regards,
Gautam Gopalakrishnan

View solution in original post

2 REPLIES 2

avatar
You are right about the reboot of the node. /var/run is a tmpfs and all
content is deleted on reboot. The other option is to restart the CM agent
with clean_restart.

# service cloudera-scm-agent clean_restart

Note that either way, all CDH roles on the node will be restarted.

Regards,
Gautam Gopalakrishnan

avatar
Explorer

Perfect, thanks so much!