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.

Reports Manager /var/lib fsimage.tmp

Solved Go to solution

Reports Manager /var/lib fsimage.tmp

Explorer

Our reports manager is currently using 19G of 24G on /var, all in /var/lib.

More specifically:
/var/lib/cloudera-scm-headlamp/cloudera-scm-headlamp

We have 9 <cluster>-hdfs directories here which are taking up most of the space.

The contents are mostly fsimage.tmp.

Some of these clusters no longer exist, and we have other live clusters that aren’t here. The timestamps are from Mar 22.

Why is the reports manager keeping fsimage.tmp files, what are some of the configs we can use to manage these, and what’s the main goal (meaning if it’s meant as a backup strategy, why a one time copy instead of continual)?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Reports Manager /var/lib fsimage.tmp

Super Guru

Hello,

 

In short, you can stop Reports Manager and then safely remove any fsimage.tmp file.

 

Reports Manager will download the fsimage to a temp file, index it, then rename the fsimage.tmp to fsimage.

If you have fsimage files lying around or directories named after HDFS that no longer exists, they can be removed.  The fact that there are fsimage.tmp files left around indicates that indexing did not complete for those files.  If an HDFS service is removed, Reports Manager does not clean up the previous files automatically.

 

By default, every hour the fsimage will be downloaded from your NameNode and indexed.  If indexing is taking longer than an hour, then you can increase the interval in the Cloudera Management Service Reports Manager "Reports Manager Update Frequency" configuration.

 

If you have specific questions about what to delete, let us know.

 

In generaly, you should have one fsimage (or fsimage.tmp while indexing is occurring) per HDFS service that Cloudera Manager manages.  If you have 2 clusters managed by Cloudera Manager, you will have two fsimage files.

1 REPLY 1

Re: Reports Manager /var/lib fsimage.tmp

Super Guru

Hello,

 

In short, you can stop Reports Manager and then safely remove any fsimage.tmp file.

 

Reports Manager will download the fsimage to a temp file, index it, then rename the fsimage.tmp to fsimage.

If you have fsimage files lying around or directories named after HDFS that no longer exists, they can be removed.  The fact that there are fsimage.tmp files left around indicates that indexing did not complete for those files.  If an HDFS service is removed, Reports Manager does not clean up the previous files automatically.

 

By default, every hour the fsimage will be downloaded from your NameNode and indexed.  If indexing is taking longer than an hour, then you can increase the interval in the Cloudera Management Service Reports Manager "Reports Manager Update Frequency" configuration.

 

If you have specific questions about what to delete, let us know.

 

In generaly, you should have one fsimage (or fsimage.tmp while indexing is occurring) per HDFS service that Cloudera Manager manages.  If you have 2 clusters managed by Cloudera Manager, you will have two fsimage files.

Don't have an account?
Coming from Hortonworks? Activate your account here