Support Questions
Find answers, ask questions, and share your expertise

solr Exception while trying to save Banana dashboard.

This is HDP 2.5 stack. I have created banana dashboard and trying to save it. I am getting the following exception. Please advise.

2016-12-12 05:14:47,137 [qtp1348949648-10342] WARN [c:sko s:shard1 r:core_node1 x:sko_shard1_replica1] org.apache.solr.handler.admin.LukeRequestHandler (LukeRequestHandler.java:607) - Error getting file length for [segments_5] java.nio.file.NoSuchFileException: /opt/ambari_infra_solr/data/sko_shard1_replica1/data/index/segments_5 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144) at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99) at java.nio.file.Files.readAttributes(Files.java:1737) at java.nio.file.Files.size(Files.java:2332) at org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:210) at org.apache.lucene.store.NRTCachingDirectory.fileLength(NRTCachingDirectory.java:124) at org.apache.solr.handler.admin.LukeRequestHandler.getFileLength(LukeRequestHandler.java:604) at org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(LukeRequestHandler.java:592) at org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(LukeRequestHandler.java:137) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155) at org.apache.solr.core.SolrCore.execute(SolrCore.java:2102) at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)

1 REPLY 1

Super Collaborator

I haven't worked with Banana much, but this looks like your Solr index "sko" is corrupt. Perhaps Solr was not shut down cleanly (e.g. a VM was abruptly shutdown). You can try to restart Solr. If that does not work you may need to recreate the collection.