Expert Contributor
Posts: 81
Registered: ‎05-09-2017
Accepted Solution

Error in Headlamp Debug Server Status

Updating indexes every3600 seconds
Location of indexes: /xxx/hadoop/cloudera-scm-headlamp

Exception occurred at November 16, 2018 9:01:16 PM +00:00 No sub-file with id .fnm found (fileName=_1d.cfs files: [])
at org.apache.lucene.index.CompoundFileReader.openInput(
at org.apache.lucene.index.CompoundFileReader.openInput(
at org.apache.lucene.index.FieldInfos.(
at org.apache.lucene.index.SegmentCoreReaders.(
at org.apache.lucene.index.SegmentReader.get(
at org.apache.lucene.index.SegmentReader.get(
at org.apache.lucene.index.DirectoryReader.(
at org.apache.lucene.index.ReadOnlyDirectoryReader.(
at org.apache.lucene.index.DirectoryReader$1.doBody(
at org.apache.lucene.index.SegmentInfos$
at com.cloudera.headlamp.HeadlampServiceImpl.setData(
at com.cloudera.headlamp.HeadlampIndex.loadNewSearchIndex(
at com.cloudera.headlamp.HeadlampIndex.(
at com.cloudera.headlamp.HeadlampIndexManager.getOrCreateIndex(
at com.cloudera.headlamp.HeadlampIndexManager.reindexIndexes(
at com.cloudera.headlamp.HeadlampIndexManager.access$100(
at com.cloudera.headlamp.HeadlampIndexManager$

Posts: 1,028
Topics: 1
Kudos: 257
Solutions: 127
Registered: ‎04-22-2014

Re: Error in Headlamp Debug Server Status



It appears something went wrong while indexing the fsimage file and now the index is "corrupt".

The most common cause of such a problem is insufficient disk space on the volume where the indexes are stored.  Make sure there is at least 3 times the size of the fsimage space free (more is better, though).


To recover, you can remove the current index files and restart Reports Manager.



copy all child directories and their contents in /xxx/hadoop/cloudera-scm-headlamp to another location (you shouldn't need anything in that directory, but I prefer to not delete until everything is up.



delete all files and directories under /xxx/hadoop/cloudera-scm-headlamp




Restart Reports Manager


Reports Manager will see there are no indexes and then download the fsimage file from your NameNode; the fsimage will then be indexed.



Expert Contributor
Posts: 81
Registered: ‎05-09-2017

Re: Error in Headlamp Debug Server Status

Thank you @bgooley

Thats what i did and it worked. thank you and appreciate your response.