Vladimir Prus created ZEPPELIN-5293: ---------------------------------------
Summary: Search index rebuild blocks everything Key: ZEPPELIN-5293 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5293 Project: Zeppelin Issue Type: Bug Affects Versions: 0.9.0 Reporter: Vladimir Prus Suppose that you have 10K notebooks stored on S3. Set zeppelin.search.index.rebuild to true in options and restart Zeppelin. Expected effect: notes are indexes in the background. Observed effect: Zeppelin is not usable for 30 minutes. UI only shows navigation bar. All the threads are blocked waiting for Notebook instance to appear. It appears that Notebook's constructor calls LuceneSearch.startRebuildIndex, and it creates a thread and then *joins* it. So, until indexing finishes, nothing works. I am unsure that this thread.join is warranted - maybe it can be just removed? -- This message was sent by Atlassian Jira (v8.3.4#803005)