Support Questions

Find answers, ask questions, and share your expertise

The Report Manager could not complete the request. Index not initialized.

avatar
Contributor

I have used CDH 5.12 for installation. While accessing HDFS -> File Browser , I am getting below exception.

 

11:46:24.924 AM INFO HeadlampServiceImpl
Searching for: '[QueryTerm(fileSearchType:PATH, queryText:/, isPrefix:false)]'
11:46:24.924 AM ERROR HeadlampServiceImpl
Index not initialized. query: '+PATH:/'
java.lang.Exception: Index not initialized.
at com.cloudera.headlamp.HeadlampServiceImpl.logAndThrowException(HeadlampServiceImpl.java:706)
at com.cloudera.headlamp.HeadlampServiceImpl.performQuery(HeadlampServiceImpl.java:616)
at com.cloudera.headlamp.HeadlampServiceImpl.fileSearch2(HeadlampServiceImpl.java:379)
at com.cloudera.headlamp.HeadlampRequestRedirector.fileSearch2(HeadlampRequestRedirector.java:80)
at com.cloudera.headlamp.api.HeadlampService$Processor$fileSearch2.getResult(HeadlampService.java:1285)
at com.cloudera.headlamp.api.HeadlampService$Processor$fileSearch2.getResult(HeadlampService.java:1273)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

6 REPLIES 6

avatar
Explorer

Hi,

 

Any solution to this issue?

 

thanks

avatar
Champion

do you have any files under this directory 

/var/lib/cloudera-scm-headlamp/cloudera-scm-headlamp

 

how many cluster do you have ? 

avatar
Explorer

No no files at all. Just one cluster running.

avatar
New Contributor

Same issue for me also while browsing from HDFS browser:

 

The Reports Manager (Reports Manager <node> could not complete the request: Index not initialized.

avatar
New Contributor

Found solution under: https://qna.dwh4u.com/index.php?qa=11572&qa_1=cannot-report-search-manage-directories-access-index-s...

 

Basically:

 

1. Stop Reports Manager ( Cloudera Management Service )
# mkdir ~/trash
# mv /var/lib/cloudera-scm-headlamp/* ~/trash/
2. Start Reports Manager ( Cloudera Management Service )

avatar
New Contributor

My solution was to chmod -R cloudera-scm:cloudera-scm /var/lib/cloudera-scm-headlamp and restart Reports Manager.