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.

Log directory space alerts

Solved Go to solution

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

Re: Log directory space alerts

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).
2 REPLIES 2

Re: Log directory space alerts

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).
Highlighted

Re: Log directory space alerts

Explorer

Thanks Sean!