Reports Manager Fails to Index fsimage for HDFS Service | Orphaned Lock in Reports Manager Requires Role Restart

0 votes
2 views
asked Aug 30, 2017 in Hadoop by admin (4,410 points)
SummaryDisk or permission issues can cause the lock in Reports Manager to be orphaned. Resolved by restarting Reports Manager.

Symptoms

Reports Manager fails to index fsimage for HDFS Service and this error is logged:

2016-08-15 09:15:36,571 ERROR com.cloudera.headlamp.HeadlampIndex: Failed to build index
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/apps/lib/cloudera-scm-headlamp/hdfs1/nameservice1/index.tmp/write.lock
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at com.cloudera.headlamp.AbstractIndexBuilder.buildIndex(AbstractIndexBuilder.java:77)
at com.cloudera.headlamp.HeadlampIndex.buildIndex(HeadlampIndex.java:256)
at com.cloudera.headlamp.HeadlampIndex.reindex(HeadlampIndex.java:324)
at com.cloudera.headlamp.HeadlampIndexManager.reindexIndexes(HeadlampIndexManager.java:238)
at com.cloudera.headlamp.HeadlampIndexManager.access$100(HeadlampIndexManager.java:58)
at com.cloudera.headlamp.HeadlampIndexManager$1.run(HeadlampIndexManager.java:492)

Applies To
Cause

Disk or permission issues can cause the lock in Reports Manager to be orphaned.

Instructions

Restart Reports Manager to resolve the issue with the orphaned lock.

Please log in or register to answer this question.

...