Support Questions
Find answers, ask questions, and share your expertise

Log directory space alerts

Explorer

Hi all,

 

I've recently created a ClouderaLive cluster and I'm trying to go through the tutorial exercises. According to the tutorial, I need to make sure that all services show up in green in ClouderaManager. However, some of them show up in yellow because of log directory space issues.

 

I've logged in to the manager node to check and it looks like the issue was caused by free space in /var/log filesystem falling below 10GB threshold. However, I cannot purge any logs because I can only ssh as ec2-user.

 

What is the proper solution here? Can I purge them via the webUI or is there a way to log in as root (or as a log owner, such as oozie or hdfs users)?

 

Thanks!

 

Best regards,

  Nikolai

1 ACCEPTED SOLUTION

Accepted Solutions

Master Collaborator
Once you're ssh'd in as ec2-user, you can run 'sudo su' to switch to root
in your current shell (there are many other ways to use sudo and su -to do
things as other users - it's worth reading up about them if you're not
familiar).

View solution in original post

2 REPLIES 2

Master Collaborator
Once you're ssh'd in as ec2-user, you can run 'sudo su' to switch to root
in your current shell (there are many other ways to use sudo and su -to do
things as other users - it's worth reading up about them if you're not
familiar).

View solution in original post

Explorer

Thanks Sean!