Created 07-18-2017 08:55 AM
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)
Created 03-23-2018 08:20 AM
Hi,
Any solution to this issue?
thanks
Created 03-24-2018 08:46 PM
do you have any files under this directory
/var/lib/cloudera-scm-headlamp/cloudera-scm-headlamp
how many cluster do you have ?
Created 03-26-2018 01:36 PM
No no files at all. Just one cluster running.
Created 03-27-2018 09:37 PM
Same issue for me also while browsing from HDFS browser:
The Reports Manager (Reports Manager <node> could not complete the request: Index not initialized.
Created 03-15-2019 09:17 AM
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 )
Created 09-06-2024 07:25 AM
My solution was to chmod -R cloudera-scm:cloudera-scm /var/lib/cloudera-scm-headlamp and restart Reports Manager.