Axel Van Damme created ZEPPELIN-5437:
----------------------------------------

             Summary: Search box: org.apache.lucene.index.IndexNotFoundException
                 Key: ZEPPELIN-5437
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5437
             Project: Zeppelin
          Issue Type: Bug
          Components: GUI
    Affects Versions: 0.10.0
         Environment: Latest Zeppelin code build from source on 30/06/21

Zeppelin started within a Docker container.
            Reporter: Axel Van Damme
         Attachments: zeppelin--zeppelin.log

With the latest code available to date we are facing an issue with the Search 
box at the top rigth of Zeppelin UI.

 

Whatever is put in the search box the result is always:

{{We couldn’t find any notebook matching ...}}

Looking at the zeppelin–zeppelin.log, we can see that an exception is raised:

 
{code:java}
INFO [2021-07-01 08:53:51,709] ({qtp931675031-131} 
NotebookRestApi.java[search]:1066) - Searching notes for: VARYING_NOISE_DSINFO 
[2021-07-01 08:53:51,709] ({qtp931675031-131} 
NotebookRestApi.java[search]:1066) - Searching notes for: VARYING_NOISE_DSERROR 
[2021-07-01 08:53:51,712] ({qtp931675031-131} LuceneSearch.java[query]:135) - 
Failed to open index dir MMapDirectory@/tmp/zeppelin-index 
lockFactory=org.apache.lucene.store.NativeFSLockFactory@640a8f93, make sure 
indexing finished OKorg.apache.lucene.index.IndexNotFoundException: no 
segments* file found in MMapDirectory@/tmp/zeppelin-index 
lockFactory=org.apache.lucene.store.NativeFSLockFactory@640a8f93: files: 
[write.lock] at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:726)
...{code}
Full trace log is attached (zeppelin--zeppelin.log).

Issue can be seen at line 545 of this log file.

Seems that some index file is missing. Is there a way to force reindexing the 
notes?

many thanks



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to