Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.10.0
-
None
-
None
Description
incorrect use of Immediate.class when start zeppelin-server
setp1: add log code:
//java public NotebookRepoSync(ZeppelinConfiguration conf) throws IOException { init(conf); // add code LOGGER.info("not boot repo sync:"+ this.hashCode()); }
step2: start server
step3: request api: http://localhost:8080/api/notebook-repositories
step4: check the log, “not boot repo sync” will print twice,but not the same hashcode
so,the instance which new at start the server is never use!
ps: after test, I found that it work because addClasses after new ServiceLocator