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)