Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Log directory space alerts

avatar
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

avatar
Guru
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

avatar
Guru
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).

avatar
Explorer

Thanks Sean!