Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Different Log directory free space warning on one host in cloudera

avatar
Explorer

Hi, 

We are running CDH 5.14.0 version of cloudera.There are multiple warnings coming related to log data directory for only one Data node( hadoop-slave-1). please see warnings.

 

hadoop-slave-1-alarms.PNG

for the same node,root / dir space is showing critical.

hadoop-slave-1-alarms1.PNG

can anyone suggest what files i should delete from "/ ,so that i can clear these alarms .

 

Thanks

Devendra

 

 

2 ACCEPTED SOLUTIONS

avatar
Cloudera Employee

Hi Devendra,

 

I see you are seeing multiple low disk space alerts for various role log and role data directories. It is not advised to delete anything manually from these directories instead adjust the retention policy for them in CM and let CM delete it automatically for you.

 

Review the documentation to find default retention policy for Cloudera Management Services data directories and following documentation for setting retention policy for any role log that by default reside in /var/log/. Remove and Delete any unused parcel from CM > Parcel page to reclaim disk space occupied by parcels. Details are given here. 

 

I hope that will help.

 

Thanks,

Salim 

View solution in original post

avatar
Explorer
4 REPLIES 4

avatar
Expert Contributor

Hi @pdev  Login to the host and execute below command -

 

for a in /*; do mountpoint -q -- "$a" || du -s -h -x "$a"; done

 

command which will ignore all mounts and only give size details of filesystem/dirs which resides under "/"

You can check and delete data accordingly.

avatar
Cloudera Employee

Hi Devendra,

 

I see you are seeing multiple low disk space alerts for various role log and role data directories. It is not advised to delete anything manually from these directories instead adjust the retention policy for them in CM and let CM delete it automatically for you.

 

Review the documentation to find default retention policy for Cloudera Management Services data directories and following documentation for setting retention policy for any role log that by default reside in /var/log/. Remove and Delete any unused parcel from CM > Parcel page to reclaim disk space occupied by parcels. Details are given here. 

 

I hope that will help.

 

Thanks,

Salim 

avatar
Explorer

Thanks salim.

avatar
Community Manager

@pdev 

Can you advise if your issue is now resolved? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 

 

 

 

Screen Shot 2019-08-06 at 1.54.47 PM.pngmark as solution button

 

 

Keep the questions coming